View Single Post
Old 3rd June 2008
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Default

hmm.. thanks BSDfan666

I issued the command:

/usr/bin/find /path/ -type f -mtime +7 -exec rm -f {} \;

and it removed the files older than 7.

However it does not seem to run when I put it as a crontab.

I suspect the cron job is not even running. Do I have to 'enable' cron? Any ideas?

Thanks for your help.
Reply With Quote