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

Restart anacron on hibernate/resume

Hi all,

Below is a message I sent to the fedora-list a while ago. I didn't
really get that many answers, so I'd like to discuss the issue on this
list too.

The main point here is: does Fedora restart anacron after a
suspend/hibernate and resume cycle (probably not) and should it?

As you may know, Ubuntu 8.04.2 was recently released and they have
apparently fixed a similar issue. In <http://lwn.net/Articles/316224/>
it says "Stop/start anacron on suspend/resume and on power-cycle

Ville-Pekka Vainio

------- Välitetty viesti ---------
> Lähettäjä: Ville-Pekka Vainio <vpivaini cs helsinki fi>
> Reply-to: "Community assistance, encouragement, and advice for using
> Fedora." <fedora-list redhat com>
> Vastaanottaja: fedora-list redhat com
> Aihe: cron.{daily, weekly, ...} and hibernate
> Päiväys: Sun, 04 Jan 2009 20:13:42 +0200
> 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
Ville-Pekka Vainio

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