HowTo - cron

From The TinkerNet Wiki
Jump to navigation Jump to search

The crontab file

Editing your personal crontab file:

  • crontab -e

Editing the root crontab file:

  • sudo crontab -e

For details about how to create crontab entries, see:

starting/stopping/restarting

  • sudo service cron start
  • sudo service cron stop
  • sudo service cron restart

logs

cron logs are rolled into syslog

  • grep CRON /var/log/syslog