Hey I have a folder on my site that will collect user created files.
These files are a once use only file. What I was wondering is is there a script I can run with cron to once a day run through that folder only and delete any file of a certain extension (say .jpg)
so like it would be run at 5 p.m. server time and delete any and all *.jpg files in this one folder?
Does that make sense?



Reply With Quote



Bookmarks