From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d4afd8341164c1ae,start X-Google-Attributes: gidfee84,public From: jgd@alpha3.csd.uwm.edu (John G Dobnick) Subject: Re: intermittent root cron job error Date: 1997/04/02 Message-ID: <5huois$6eu@uwm.edu>#1/1 X-Deja-AN: 230238091 References: <5hulin$uco@alpha.delta.edu> Organization: University of Wisconsin - Milwaukee Reply-To: jgd@alpha3.csd.uwm.edu Newsgroups: comp.unix.osf.osf1 Originator: jgd@alpha3.csd.uwm.edu >From article <5hulin$uco@alpha.delta.edu>, by keith@alpha.delta.edu (Keith DeLong): > Through this command, is cron deleting one of it's own temporary files? > > Or perhaps it is finding a temporary file that another task has created, > but the task removes it sometime in the fraction of a second between the > "find" and the "rm". > > Michael (claym@atc.boeing.com) wrote: > : We have 5 DEC 3000/300's running OSF1 V3.2 214 alpha. > : On one and only one of these boxes, one of the standard root > : cron jobs: > : reports an error like the following: > : find: bad status-- /tmp/croutXXXaaapya > : about 98% of the time. Oddly enough, this file is the > : cron job's stdout. Anybody else seen this kind of thing? Hmmm... you might check that there is only _one_ cron daemon running. We've seen _weird_ things happen here when multiple crons are run. And how, you may ask, does one get multiple crons running? Our experience has been that someone (as root) makes a mistake -- they run "cron" instead of "crontab" when updating root's entry. (An easy thing to do, really, since we came from a BSD environment which never _had_ an executable crontab program -- one just edited one's .../spool/cron file directly.) [This has happened more than once to us. We've rapped knuckles more than once, too. :-( ] -- John G Dobnick "Knowing how things work is the basis Information & Media Technologies for appreciation, and is thus a University of Wisconsin - Milwaukee source of civilized delight." jgd@csd.uwm.edu ATTnet: (414) 229-5727 -- William Safire