Why is /etc/cron.daily happening twice

Chris G cl at isbd.net
Sat Nov 24 10:24:32 UTC 2007


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.

-- 
Chris Green




More information about the users mailing list