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

Re: Why is /etc/cron.daily happening twice



On Sat, Nov 24, 2007 at 09:39:36AM -0500, Robert Locke wrote:
> 
> 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.
> 
That could be it I guess, this system is normally on all the time but
I have rebooted it a few times recently so anacron would have been
run.

Thanks.

-- 
Chris Green


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