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

hc-cron [Re: anacron/apm issue]

On Wed, Oct 13, 1999 at 02:41:20PM -0700, Simon Michael wrote:
> I seek advice on the following apparent problem in the latest potato:
> Problem: if you suspend your laptop for more than 3 hours, cron
> ignores any jobs scheduled during the interval. Therefore if, for
> example, you suspend each night and start work around 10, your 0730
> anacron invocation will never run. Nor will your 0342 dlocate db
> update.
> Fix: add an extra anacron invocation on wakeup, in /etc/apm/event.d.
> Also move daily jobs from /etc/crontab & /etc/cron.d to
> /etc/cron.daily where appropriate, so they will be run by anacron in
> the above case.
> Questions:
> 1. is the above analysis correct ?
> 2. if so, where should the bugreport(s) go - cron/anacron/apmd/dlocate ?

Just so you know, someone has written a cron replacement called "hc-cron" 
that solves this problem:


However, it doesn't seem to be debian-packaged, even though it's GPL.
Anyone want to get started on this?

Colin Walters <levanti@verbum.org>
PGP Fingerprint: A580 5AA1 0887 2032 7EFB  19F4 9776 6282 C207 843A

Reply to: