Why is /etc/cron.daily happening twice

Robert Locke lists at ralii.com
Sat Nov 24 14:39:36 UTC 2007


On Sat, 2007-11-24 at 10:24 +0000, Chris G wrote:
> If I do a 'ps -ef' on my system I see the following:-
> 
>     root     17343     1  0 04:02 ?        00:00:00 crond
>     root     17344 17343  0 04:02 ?        00:00:00 /bin/bash /usr/bin/run-parts /etc/cron.daily
>     root     18023 17344  0 05:05 ?        00:00:00 /bin/bash /usr/bin/run-parts /etc/cron.daily
> 
> 
> Why does '/bin/bash /usr/bin/run-parts /etc/cron.daily' appear to be
> spawning a copy of itself just over an hour after it started?  I have
> looked at the /usr/bin/run-parts script and I really can't see a
> reason why it should do this unless one of the scripts in /etc/cron.daily
> is doing something wierd and I have only added a very simple backup
> script there.
> 
> Oh, this is on Fedora 7 by the way.
> 
> 
> ... and yes, it is a problem, the rsync backups were tripping over
> themselves.
> 

Hi Chris,

Look at anacron.  Specifically, /etc/anacrontab.

--Rob




More information about the fedora-list mailing list