/etc/cron.daily/apt hangs [solved]

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Tue Feb 24 01:34:36 UTC 2009


Derek Broughton:
> Markus Schönhaber wrote:

> > Hm, you're the first one I know of who expects jobs in cron.daily to be
> > run precisely at a given time. In my understanding jobs in cron.daily are
> > to be run once a day - whenever that may be throughout the day. And since
> > those jobs are executed sequentially, it's pretty obvious that any delay
> > in one job (be it caused by a sleep like in the apt script, a slow
> > network or something else) will affect the execution time of all
> > following jobs.
>
> Hmmm.  Not that obvious - I didn't think the cron jobs waited for one
> another at all...

<nitpick_mode>
Strictly speaking, the cron jobs don't wait for each other, but rather there's 
only one cron job involved - the one which starts run-parts. Which, in turn, 
runs the scripts in the cron.daily directory, and does so one after the other.
</nitpick_mode>

Regards
  mks





More information about the ubuntu-users mailing list