pavement

Crontab

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m (minor punctuation fix)
m (Reverted edits by 140.128.20.205 (Talk); changed back to last version by Jimbo)
 
(One intermediate revision by one user not shown)
Line 14: Line 14:
 
  -r remove table
 
  -r remove table
 
  -l list the current table
 
  -l list the current table
 +
 +
[[Category:System Commands]]

Latest revision as of 08:52, 27 October 2007

edits a user's cron table -- hence the name -- by running an editor. The actual tables for each user are kept in /etc/cron/tabs but are not meant to be edited directly.

The tables are in this format:

#min hour dayofmonth  monthofyear  dayofweek  command
0    12      14         2           *        fsck -y

Time values can be set to * (for all) or * divided -- e.g., */5 in the first field means "every five minutes"


[edit] Common flags

-u username edit username table
-e edit table (or create empty one if none exists)
-r remove table
-l list the current table
Personal tools