tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* CRON & Find keep giving bad status mail messages
@ 1995-10-09  0:56 joe
  0 siblings, 0 replies; only message in thread
From: joe @ 1995-10-09  0:56 UTC (permalink / raw)
  To: tru64-unix-managers

Hi all,

I have the following system setup (uname -a):

OSF1 holly.resptk.bhp.com.au V3.0 347 alpha

'cron' runs the following command which was the default setup when the
system was installed:

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

Evey time this command is executed the following Mail message is sent to the
'root' account:

From root Sat Oct  7 04:20:01 1995
Date: Sat, 7 Oct 1995 04:20:01 +1000
From: system PRIVILEGED account <root>
Apparently-To: root

find: bad status-- /tmp/croutUSEaaakba


*************************************************
Cron: The previous message is the standard output
      and standard error of one of your cron commands.

It appears the 'find' command is encountering a tempory file which is produced
by the 'cron' when running the command.

I am curious if anyone else has the same problem, as the 'root' mail will keep
building up if you do not remove the mail messages.

Should this happen or not ? Or is my setup wrong ?

The easiest way around this would be to redirect the cron command to /dev/null.

Can anyone enlighten me

Regards Joe
joe@resptk.bhp.com.au

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-10-09  0:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-09  0:56 CRON & Find keep giving bad status mail messages joe

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