[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

cron.{daily, weekly, ...} and hibernate



Hi,

I've been wondering about the cron.{daily, monthly, weekly, hourly}
scripts and hibernate. It seems to me that when I use hibernate, these
jobs are almost never run, unless of course I need to do a complete
reboot due to a kernel update or such.

Cron almost never gets to run these jobs because the computer is usually
hibernating when cron is configured to run. It seems like anacron
doesn't run the jobs either when the computer is actually running. To
fix this I've written a simple bash script for hibernating which first
runs hibernate and then restarts crond and anacron when waking up.

Am I wrong here, is there something wrong with my configuration or is it
really the situation that the cron jobs are not run after waking up from
hibernation?


-- 
Ville-Pekka Vainio


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]