Reasons why crontab does not work

Posted by Adam Matan on Ask Ubuntu See other posts from Ask Ubuntu or by Adam Matan
Published on 2011-01-24T09:56:54Z Indexed on 2012/04/08 23:47 UTC
Read the original article Hit count: 284

Filed under:

Many a time and oft, crontab scripts are not executed as expected. There are numerous reasons for that, for example: wrong crontab notation, permissions, environment variables and many more.

This community wiki aims to aggregate the top reasons for crontab scripts not being executed as expected. Write each reason in a separate answer.

Please include one reason per answer - details about why it's not executed - and fix(es) for that one reason.

Please write only cron-specific issues, e.g. commands that execute as expected from the shell but execute erroneously by cron.

© Ask Ubuntu or respective owner

Related posts about crontab