I'm using Ubuntu 14.04, and the cron daemon is running:
# ps ax | grep cron 822 ? Ss 0:00 cron
but it is not executing any jobs. I was previously getting entries in
/var/log/syslog such as this:
2014-05-04T11:47:01.839754+01:00 localhost CRON: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ))
but now there are no cron-related entries. I was also getting entries like this in
2014-05-04T11:47:01.839183+01:00 localhost CRON: pam_unix(cron:session): session opened for user root by (uid=0) 2014-05-04T11:47:13.495691+01:00 localhost CRON: pam_unix(cron:session): session closed for user root
but again, now there are no cron-related entries.
I am not aware that anything has changed. I have tried restarting cron:
# service cron restart cron stop/waiting cron start/running, process 24907
I tried using
crontab -e to add a cron job
* * * * * date >> /tmp/somefile which worked, but it installed a new crontab in
/var/spool/cron/crontabs/root, whereas I want cron to use the file in
Is there any debug option I can use, or a log somewhere that might give an error message that I can investigate?