On Wed, Sep 21, 2016 at 07:26:18PM +0200, Patrick Dupre wrote:
Hello,
I am a bit surprise by the answers that I received.
Again, cron and anacron used to run quite well for a long time.
Both can co-live, one run periodically according to /etc/crontab
and /etc/cron.daily /etc/cron.weekly, etc...
and anacron could make the relay, in case that the machine was
turned off.
Why give up this logic?
Now, we have
/etc/crond.d with
0hourly
raid-check
/etc/cron.hourly with
0anacron
/etc/cron.daily/
seems to be ignored
Where is the logic?
I'm not sure where your and my systems differ. But on mine,
cron.daily is certainly NOT ignored. I get daily logwatch
reports from there and my locate database is updated from
there.
In fact, since I learned about the systemD mechanism for
daily updates of the locate database, I activated it to
see the effect and I'm getting twice daily updates.
The crond manpage says it reads /etc/anacrontab. It is
from there that daily/weekly/monthly get executed.
Jon
--
Jon H. LaBadie jonfu(a)jgcomp.com