Re: Anacron vs. cron.
On Saturday 01 May 2004 6:13 pm, R. Clayton wrote:
> I've discovered that cron.daily isn't being run (the locate database
> is 8 days old (I ran updatedb manually at one point),
> /usr/lib/man-cb/mandb hasn't been updated since 15 August 2003, and
> so on). The command for daily in /etc/crontab is
>
> test -e /usr/sbin/anacron || run-parts --verbose /etc/cron.daily
>
> which, to my eyes, checks for /usr/sbin/anacron and, if it exists
> (which it does), does nothing; it's only when /usr/sbin/anacron
> doesn't exist that /etc/cron.daily runs. Because I can't figure out
> how anacron gets run (there's no crontab entry I can find), this
> strikes me as wrong, but maybe I just don't understand.
>
> Does anybody know what the story is here and, more importantly, how I
> can get daily cron jobs back (as well as weekly and monthly jobs,
> because their commands are of the same form)? Of course, I could
> just uninstall anacron (or rewrite crontab), but is that recommended?
> If not, what is?
Hey, I've just replied to this once and then realised I misread it (too
much wine). Are you sure you have anacron installed?, because if you
have, then frankly your problem is beyond me and I am out of my depth
again. ;)
Cheers (raising glass)
Geoff
Reply to: