Why would anacron not be running?

Posted by Rory on Server Fault See other posts from Server Fault or by Rory
Published on 2010-01-05T10:09:27Z Indexed on 2012/09/08 15:40 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

I have a Ubuntu system that has anacron installed. However I'm pretty sure it's not running. It's not running the commands in /etc/cron.daily to rotate the syslog files (I'm using sysklog, which has its own rotating log method, not using logrotate). The last time the logs were rotated were in October 2009. /var/spool/anacron/cron.daily exists and the contents are 20091015. AFAIR we had a power outage then, and everything rebooted.

How can I debug anacron? How can I see why it's not running? My first instinct is to look for /var/log/anacron, but that's not there. How can I fix it to make it run again?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about debian