Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 14:15:05 -0500
From:      Tony Wells <awells@journalstar.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Find Command
Message-ID:  <37961C39.D96116A2@journalstar.com>
References:  <000001bed321$118409c0$130a70d8@tilmant.com>

next in thread | previous in thread | raw e-mail | index | archive | help
A caveat about using the "." directory with "find" through a cron job is
what is the home directory for cron?  Make sure your script cd's to the
directory you want or list the full pathname in the find command,
otherwise you could lose files you hadn't planned on.

Good Luck!

Tom Tilmant wrote:
> 
> I would like to setup a cron job that search for last access date >30 days
> and remove the file.  Could someone help me with the find command that would
> handle this.
> 
> Thanks
> 
> Tom
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37961C39.D96116A2>