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

Re: cron and anacron



On Sat, Mar 19, 2005 at 09:35:32AM -0800, david david wrote:
> I'm confused between anacron and cron.  I've got a vanilla woody
> install and there appears to be some anacron statements in
> /etc/crontab.  Does that mean I need to install anacron to get the
> entries in /etc/cron.daily, weekly and monthly to run?
No

> 25 6    * * *   root    test -e /usr/sbin/anacron || run-parts
> --report /etc/cron.daily
Note the use of '||'. That means that if anacron is installed, the
standard method cron uses for running /etc/cron.daily/* (i.e. run-parts)
won't run since anacron will take care of it.

-- asg



Reply to: