From: schuderfloss@netscape.net (Martin Brodie)
Subject: Re: Cron job to remove core files ..output error emails help
Date: 27 Sep 2002 03:07:20 -0700 [thread overview]
Message-ID: <4bb16963.0209270207.fbe8457@posting.google.com> (raw)
In-Reply-To: bFHk9.33$bq5.529524@news.cpqcorp.net
duane@hunch.zk3.dec.com (Andrew Duane USG) wrote in message news:<bFHk9.33$bq5.529524@news.cpqcorp.net>...
> 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.
Tried the fstype addition to the command and still the same result.
Any other ideas? How can I exclude in the search path /proc ?
prev parent reply other threads:[~2002-09-27 10:07 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
2002-09-27 10:07 ` Martin Brodie [this message]
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