Cron (see man 5 crontab)
----------------------------------
Directories and file
ls /etc/cron
cron.d/
cron.monthly/
cron.weekly/
cron.daily/
cron.hourly/
crontab
cron.deny
-----------------------------------
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
-----------------------------------
crontab
-u user
-e edit
-l list
Example:
crontab -e -u root
30 11 * * * wget ftp://instructor.example.com/pub/RHCE_Notes/033/vi_editor
crontab -l
------------------------------------
----------------------------------
Directories and file
ls /etc/cron
cron.d/
cron.monthly/
cron.weekly/
cron.daily/
cron.hourly/
crontab
cron.deny
-----------------------------------
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
-----------------------------------
crontab
-u user
-e edit
-l list
Example:
crontab -e -u root
30 11 * * * wget ftp://instructor.example.com/pub/RHCE_Notes/033/vi_editor
crontab -l
------------------------------------
No comments:
Post a Comment