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_at_resptk.bhp.com.au
Received on Mon Oct 09 1995 - 02:11:41 NZDT