Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3984 - Race in crontab
Summary: Race in crontab
Status: RESOLVED DUPLICATE of bug 3966
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-21 10:37 UTC by george
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description george 2002-06-21 10:37:40 UTC
I was receiving occasional emails from cron telling me that while running run-crons, /var/spool/cron/lastrun/<whichever> didn't exist.  I think that this was caused by a race between run-crons and the corresponding rm cron job.  I have changed the minutes entry of the run-crons line in /etc/crontab from "*/15" to "1-59/15" to delay it by one minute.  Since making the change - no more emails.  Of course as this was an occasional problem this could be luck but it looks good to me.  This isn't a big deal as the cronjobs do run, but unnecessary error emails irritate me :(  FWIW I'm running vcron 3.0.1-r1.
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-06-21 16:38:03 UTC

*** This bug has been marked as a duplicate of 3966 ***