Re: crontab job
On Fri, 20 Mar 2009 09:05:05 -0700, hadi motamedi wrote:
>  We have
> received the following instruction command to be set as crontab job for
> root user, as the followings :
> 45 1 * * * find /usr/local/statsvr/counters/main/processed -atime +60
> -exec rm -f {} ';'
> Can you please let us know what is the meaning of "-atime" & "-exec"
> commands used here ?
Do
 man find
then find "-atime", "-exec" with "/". 
FYI, the tmpreaper is handy if you have more than 1 such folders need to 
be cleaned regularly:
 tmpreaper - cleans up files in directories based on their age
-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/
Reply to: