HowTo - cron

From The TinkerNet Wiki
Revision as of 23:58, 26 December 2021 by Tinker (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Now on Wiki.NerdMage.Ca

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