How to delete photos that haven't been accessed for more than 5 days ?

Posted by Lost_in_code on Stack Overflow See other posts from Stack Overflow or by Lost_in_code
Published on 2010-03-27T05:54:04Z Indexed on 2010/03/27 6:03 UTC
Read the original article Hit count: 160

Filed under:

I'm trying to create a cron job which will automatically delete .jpg files from a particular folder that haven't been accessed for more than 5 days. Running the cron job is not a problem, but how do I go about writing the script which will take care of the deletion?

© Stack Overflow or respective owner

Related posts about php