Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3984

Summary: Race in crontab
Product: Gentoo Linux Reporter: george <gk>
Component: [OLD] Core systemAssignee: Thilo Bangert (RETIRED) (RETIRED) <bangert>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***