Difference between revisions of "HowTo - cron"

From The TinkerNet Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
<span style="background-color: rgb(153, 204, 0); color: rgb(0, 0, 255);" data-mce-style="background-color: #99cc00; color: #0000ff;">'''<big>Now on Wiki.NerdMage.Ca</big>'''</span>
 +
 
==The crontab file==
 
==The crontab file==
 
Editing your personal crontab file:
 
Editing your personal crontab file:

Latest revision as of 23:58, 26 December 2021

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