I'm having some problems getting cron jobs to run.
If I want to get a cron job to run under my own user account, using crontab -e, then that works just fine.
However, if I want to get a cron job to run as root, then it doesn't want to play. If I either put a script into the /etc/cron.daily or /etc/cron.hourly folders, or set up the job using sudo crontab -e, then the job doesn't run. I've tested this with a really simple script that just writes "hello world" to a log file, and which runs perfectly OK from a terminal.
If I check the syslog at the time the cron job should have run, I see output like this:
Any ideas what could be going on? I'm using Ubuntu server 12.04, and I'm also wondering if it might be related to another problem I've been having, which is described in this thread.Code:Jun 25 14:17:02 localhost CRON: Authentication failure