From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075324106503.tru64-unix-managers.marc@archive.invalid> From: joe () resptk ! bhp ! com ! au Date: Mon, 09 Oct 1995 00:56:42 +0000 To: tru64-unix-managers Subject: CRON & Find keep giving bad status mail messages X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075324106503 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 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