Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Re: [SLE] cron.daily
  • From: Richard Bos <radoeka@xxxxxxxxx>
  • Date: Sat, 5 Mar 2005 21:32:14 +0100
  • Message-id: <200503052132.15159.radoeka@xxxxxxxxx>
Op zaterdag 5 maart 2005 18:31, schreef Carlos E. R.:
>         # remove all lock files for scripts that are due to run
>         eval find $SPOOL/$BASE $TIME | \
>              xargs --no-run-if-empty rm

The code above removes the files in /var/spool/cron/lastrun/

So the lines "rm" lines in /etc/crontab seems redundant to me, aren't they?
It may even be worse. Assume for the daily cron that the
script /usr/lib/cron/run-crons has been executed at 03:55, and it has set the
lock file. What happens now is that at 04:14 the lock file is being removed.
Meaning that at 04:15 the daily script run again, while that should not
happen.... Bug?

--
Richard Bos
Without a home the journey is endless


< Previous Next >