Crontab and Cronjob work

When I upgraded from Ubuntu 14.04 to 16.06, my cron jobs stopped running, apparently due to bad syntax.

What used to be OK: 0/5 (run every 5 minutes)
What needed to be changed: */5

So here are some resources for running cron and testing things in 2016:

  • Run cron jobs (cron.daily, cron.weekly, etc.): run-parts /etc/cron.daily
  • Run cron jobs every X minutes: */X * * * * my_script.sh
  • Verify crontab syntax: cat -v /etc/crontab

Resources – 1, 2, 3

Crontab and Cronjob work
Scroll to top