From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,64f12ec975ab87e0 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-26 10:33:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!cyclone1.gnilink.net!ngpeer.news.aol.com!uunet!dca.uu.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail Newsgroups: comp.unix.tru64 Subject: Re: Cron job to remove core files ..output error emails help References: <4bb16963.0209260804.c6148d7@posting.google.com> From: duane@hunch.zk3.dec.com (Andrew Duane USG) Message-ID: Date: Thu, 26 Sep 2002 17:41:27 GMT NNTP-Posting-Host: 16.141.0.43 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1033062087 16.141.0.43 (Thu, 26 Sep 2002 10:41:27 PDT) NNTP-Posting-Date: Thu, 26 Sep 2002 10:41:27 PDT Organization: Compaq, part of the new hp Xref: archiver1.google.com comp.unix.tru64:8736 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