anacron and cron and laptop usage
marcumbill at bellsouth.net
Wed Jan 17 09:34:49 UTC 2007
On Tue, 16 Jan 2007 13:38:43 -0400, Derek Broughton
<news at pointerstop.ca> wrote:
> Georg Sauthoff wrote:
>> I am using (K)ubuntu 6.10 and I have a question about the crond (package
>> cron) and the anacron setup.
>> I noticed, that anacron gets executed every day at 7.30h by crond (and
> I believe you are misreading the crontab.
> Mine says:
> 25 6 * * * root test -x /usr/sbin/anacron||run-parts ...
> That says IF you have anacron, DON'T run run-parts (because anacron will do
> this for you).
Look at /etc/cron.d/anacron. That is supposed to ensure that anacron
runs even if the computer is not booted once a day. The problem is that
anacron might not run if the machine is suspended. The OP might
consider replacing anacron with fcron.
Above all else -- sky.
More information about the ubuntu-users