Comment 8 for bug 36816

Revision history for this message
Rob Latham (rob-terizla) wrote : Re: Doesn't work with hibernation

I've changed /etc/cron.d/anacron so that it runs every hour. /etc/init.d/anacron checks to see if we are on battery or not, so we won't run anacron jobs if we are on battery (good for laptops). Anacron checks the files in /var/spool/anacorn so even if invoked 24 times a day, daily jobs will run only one time (good for everyone).

It's not the cleanest solution but it's easy for me to understand the files in /etc/, and we get anacron running even if the machine is in console mode.