Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: schuderfloss@netscape.net (Martin Brodie)
Subject: Cron job to remove core files ..output error emails help
Date: 26 Sep 2002 09:04:50 -0700	[thread overview]
Message-ID: <4bb16963.0209260804.c6148d7@posting.google.com> (raw)

Ok I have a cron entry that performs the following

  find / -name core ! -fstype nfs -exec rm {} \;

everytime it runs it produces a email with contents like this:


find: /proc/00000 : No such file or directory
find: /proc/679022 : No such file or directory


*************************************************
Cron: The previous message is the standard output
      and standard error of the following crontab command: 

    find / -name core ! -fstype nfs -exec rm {} \;


Is there anyway to suppress this, in the event it does not find a core
file and/or the 'No such file...' entry.


Thanks from a newbie.


             reply	other threads:[~2002-09-26 16:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-26 16:04 Martin Brodie [this message]
2002-09-26 17:41 ` Cron job to remove core files ..output error emails help Andrew Duane USG
2002-09-27 10:07   ` Martin Brodie
read-only archive

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