Crontab's @reboot Only Works For Root?
Answer : This can be a bit of a confusing topic because there are different implementations of cron. Also there were several bugs that broke this feature, and there are also some use cases where it simply won't work, specifically if you do a shutdown/boot vs. a reboot. Bugs datapoint #1 One such bug in Debian is covered here, titled: cron: @reboot jobs are not run. This seems to have made it's way into Ubuntu as well, which I can't confirm directly. datapoint #2 Evidence of the bug in Ubuntu would seem to be confirmed here in this SO Q&A titled: @reboot cronjob not executing. excerpt comment #1: .... 3) your version of crond may not support @reboot are you using vix's crond? ... show results of crontab -l -u user comment #2: ... It might be a good idea to set it up as an init script instead of relying on a specific version of cron's @reboot. comment #3: ... @MarkRoberts removed the reboot and modified the 1 * * * * , to */1 * * * * , problem is solv...