92 / 102
Scheduling Repetitive Tasks
The cron
daemon examines crontab files every minute, and
checks if the command in each line should be run in the current minute.
crontab
- Maintain crontab files.
crontab -e
minute hour day_of_month month day_of_week command
- minute (0 to 59)
- hour (0 to 23)
- day of month (1 to 31)
- month (1 to 12, or jan, feb, etc)
- day of week (0 to 7, 0 or 7 is Sunday, or sun, mon, etc)
- command (or script)
- newline