Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (16 sloc) 594 Bytes

cron

View cron for current user: crontab -l

Ways to specify a cronjob

You can place a shell script in one of the following directories:

  • /etc/cron.hourly
  • /etc/cron.daily
  • /etc/cron.weekly
  • /etc/cron.monthly

You can place a crontab in /etc/cron.d

You can edit the user-level crontab using crontab -e

GOTCHAS

  • Always specify absolute paths!

REFERENCES

CronHowto. Ubuntu Community Help Wiki. Cron HOWTO.

cron. Learn Chef. How to use chef to manage cronjobs.