About uploaded files

sneakybeaver 02 Jul, 2011
Hi there,

I would like to know if I could setup a timer to deleted automatically uploaded files after 24 hours. Because we let people upload their music demo and we could have more than 10 demo a day and I am not always in front of my PC.

Thanks again,

SneakyBeaver
GreyHead 03 Jul, 2011
Hi SneakyBeaver,

You could set up a cron job on your server to run every day or so.

In Chronoforms there isn't any way to schedule a future event; but you could add code to a form so that when a new upload takes place any files more than seven days old ae deleted.

Bob
sneakybeaver 03 Jul, 2011
thanks GreyHead, I will try to make a CronJob for this in Cpanel!

Have a nice day!
This topic is locked and no more replies can be posted.