===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
Sent: Thursday, September 22, 2016 at 7:14 AM
From: "Jon LaBadie" <jonfu(a)jgcomp.com>
To: users(a)lists.fedoraproject.org
Subject: Re: cron
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.
This was correct with fc22, but sine I updated in fc24. The behavior
is not correct.
cf. anacron weakly is supposed to run on saturday, it run on Monday now !
Same thing for cron !
It is why I am complaining. And I cannot get any explanation why the
behavior of my machine has changed after the update while the configuration
files /etc/anacrontab and /etc/crontab did not change
> Jon
> --
> Jon H. LaBadie jonfu(a)jgcomp.com
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
>