From: duane@hunch.zk3.dec.com (Andrew Duane USG)
Subject: Re: Cron job to remove core files ..output error emails help
Date: Thu, 26 Sep 2002 17:41:27 GMT [thread overview]
Message-ID: <bFHk9.33$bq5.529524@news.cpqcorp.net> (raw)
In-Reply-To: 4bb16963.0209260804.c6148d7@posting.google.com
In article <4bb16963.0209260804.c6148d7@posting.google.com> schuderfloss@netscape.net (Martin Brodie) writes:
>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
>
>Is there anyway to suppress this, in the event it does not find a core
>file and/or the 'No such file...' entry.
Add "! -fstype procfs" or some other way to stop it from traversing
into /proc, which is a procfs file system.
--
Andrew L. Duane (JOT-7) duane@zk3.dec.com
HP/Compaq Corporation Andrew.Duane@compaq.com
110 Spit Brook Road Andrew.Duane@hp.com
M/S ZKO3-3/U14
Nashua, NH 03062-2698 (603)-884-1294
next prev parent reply other threads:[~2002-09-26 17:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-26 16:04 Cron job to remove core files ..output error emails help Martin Brodie
2002-09-26 17:41 ` Andrew Duane USG [this message]
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