charliecreed
Verified User
- Joined
- Feb 26, 2006
- Messages
- 56
Hello,
I run http://www.proupload.com - I have directadmin on the server anyway here's the question
Im trying to make a script of some kind which will run on a crond, It will check all files in a certain directory so lets say /uploads/ and it will delete files which are older than 30 days.
However I only want it to delete if it hasnt been visited within those 30 days.
Any ideas how I can do this?
Thanks,
Charlie
I run http://www.proupload.com - I have directadmin on the server anyway here's the question
Im trying to make a script of some kind which will run on a crond, It will check all files in a certain directory so lets say /uploads/ and it will delete files which are older than 30 days.
However I only want it to delete if it hasnt been visited within those 30 days.
Any ideas how I can do this?
Thanks,
Charlie