• Controlling WHEN jobs are executed can maximize efficiency
  • Using cron & at, CPU-hog jobs can be run in off-hours
  • crontab command is used to edit cron entries: crontab -e
  • format of crontab entries:
    MINUTE HOUR DAY MONTH DAYOFWEEK COMMAND
    15 5 * * * /root/backup.bash # runs the backup script at 0515 every day
    30 2 * * 3 /root/wedjob.bash # runs the wednesday job script 0230, weds
  • cron checks every minute to see if the crontabs have changed, and if so, if jobs need to be run
  • /etc/cron.allow, /etc/cron.deny
  • NEXT
    INDEX
    Master Index