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

Bug#35714: anacron and cron both run cron.daily !



shaleh@clifford.livenet.net writes ("Re: Bug#35714: anacron and cron both run cron.daily !"):
> The problem is that anacron does not have the right to disable crontab.  I have
> mailed the cron maint about this and am awaiting a solution.
> 
> Simply commenting out the calls in crontab to daily,monthly,weekly fix the
> problem.
> 
> If you can offer him and I a solution, we would be appreciative.

Hmm.  Just commenting out the calls does seem a bit rude, though - for
starters, it might well cause the jobs to run at undesirable times.

How is anacron run, apart from at system boot ?  Perhaps anacron could
disable the standard entries in the crontab, but put an invocation of
itself in at the same time to replace them.  Then a system which was
largely up would run the jobs at the same time each day.

Perhaps it would be better for cron to know about anacron, so eg we
replace the run-parts crontab entries with ones which test for
/usr/sbin/anacron or something.

Just some suggestions ...

Ian.


Reply to: