You could change the cron entry to be similar to:
15 3 * * * find / /usr -xdev -name core\* -mtime +7 -exec rm -f {} \;
Ral
--------- Received message begins Here ---------
>From [EMAIL PROTECTED] Wed Nov 2 05:48:40 1994
>Received: from po2.transarc.com by newton.ncsa.uiuc.edu with SMTP id AA29504
> (5.65a/IDA-1.4.2 for mbutler); Wed, 2 Nov 94 05:48:39 -0600
>Received: by po2.transarc.com (5.54/3.15) id <AA01686>; Wed, 2 Nov 94 06:14:18 EST
>Received: via switchmail; Wed, 2 Nov 1994 06:14:17 -0500 (EST)
>Received: from po2.transarc.com via qmail
> ID </afs/transarc.com/service/mailqs/sq1/QF.YihrE2D0Bi82I180U:>;
> Wed, 2 Nov 1994 06:12:02 -0500 (EST)
>Received: from transarc.com via qmail
> ID </afs/transarc.com/service/mailqs/sq1/QF.8ihr5yT0Bi81I1704z>;
> Wed, 2 Nov 1994 06:01:18 -0500 (EST)
>Received: from po2.transarc.com via qmail
> ID </afs/transarc.com/service/mailqs/q1/QF.AihqyKb0Bi82067U4C>;
> Wed, 2 Nov 1994 05:53:10 -0500 (EST)
>Received: from lionsden.informatik.uni-muenchen.de
>(lionsden.informatik.uni-muenchen.de, [129.187.249.14]) by po2.transarc.com
>(5.54/3.15) id <AA01559> for info-afs; Wed, 2 Nov 94 05:52:54 EST
>Received: from sunhegering4.nm.informatik.uni-muenchen.de
>(sunhegering4.nm.informatik.uni-muenchen.de [129.187.214.2])
> by lionsden.informatik.uni-muenchen.de (8.6.9/8.6.9) with SMTP id LAA03049
> for <[EMAIL PROTECTED]>; Wed, 2 Nov 1994 11:52:40 +0100
>Received: by sunhegering4.nm.informatik.uni-muenchen.de (4.1/SMI-4.1)
> id AA05634; Wed, 2 Nov 94 11:52:38 +0100
>From: [EMAIL PROTECTED] (Stephen Heilbronner)
>Message-Id: <[EMAIL PROTECTED]>
>Subject: Preventing find's across /afs on SunOS
>To: [EMAIL PROTECTED]
>Date: Wed, 2 Nov 1994 11:52:37 +0100 (MET)
>X-Mailer: ELM [version 2.4 PL24beta]
>Mime-Version: 1.0
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>Content-Length: 700
>Status: R
>
>Is there a possibility of configuring AFS (on SunOS 4.1.2) in
>order to have it pretend to be NFS file systems ? This would
>prevent crontab commands like
>
>find / -name core -atime +7 -exec rm -f {} \; -o -fstype nfs -prune
>
>from running all across the /afs tree.
>
>Thanks very much,
>Stephen
>
>--
> _ _ _ _ _ _ STEPHEN HEILBRONNER
> |\/| |\ | |\/| Department of Computer Science
> | | | \| | | Ludwig-Maximilians-University Munich
> ======= TEAM ======= Leopoldstrasse 11b, D-80802 Munich, Germany
>Munich Network Management Team Phone: +49-89-2180-3118, Fax: -3135
>Muenchner Netz-Management Team E-Mail: [EMAIL PROTECTED]
>
Ral Geis
AFS and Sun Workstations
National Center for Supercomputing Applications (NCSA)
at the University of Illinois
"Life is too important to be taken seriously" - Oscar Wilde