Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* intermittent root cron job error
@ 1997-03-31  5:00 Michael
  1997-04-02  5:00 ` Keith DeLong
  0 siblings, 1 reply; 3+ messages in thread
From: Michael @ 1997-03-31  5:00 UTC (permalink / raw)



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:

  20 4 * * * find /tmp  -type f -atime +2 -exec rm -f {} \;

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?

Thanks,

  Michael <claym@atc.boeing.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: intermittent root cron job error
  1997-04-02  5:00 ` Keith DeLong
@ 1997-04-02  5:00   ` John G Dobnick
  0 siblings, 0 replies; 3+ messages in thread
From: John G Dobnick @ 1997-04-02  5:00 UTC (permalink / raw)



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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: intermittent root cron job error
  1997-03-31  5:00 intermittent root cron job error Michael
@ 1997-04-02  5:00 ` Keith DeLong
  1997-04-02  5:00   ` John G Dobnick
  0 siblings, 1 reply; 3+ messages in thread
From: Keith DeLong @ 1997-04-02  5:00 UTC (permalink / raw)



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". 

If you track down which program creates/removes the croutXXXaaapya
temporary file, I bet you'll find your answer.

--Keith

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:
: 
:   20 4 * * * find /tmp  -type f -atime +2 -exec rm -f {} \;
: 
: 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?
: 
: Thanks,
: 
:   Michael <claym@atc.boeing.com>
-- 
----------------------------------------------------------------------------
Keith DeLong      (keith@alpha.delta.edu)      [http://www.delta.edu/~keith]
----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-04-02  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-31  5:00 intermittent root cron job error Michael
1997-04-02  5:00 ` Keith DeLong
1997-04-02  5:00   ` John G Dobnick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox