I need a program which deletes all files in a certain directory that did not change X seconds.
The program should be automatically started when the Windows Web Server starts.
Further i need to be able to configure in an xml the directory (or directories) which should empty files not updated over x seconds.
It checks every 300 seconds for the following:
- all files in "C:\php\sessions" needs to be deleted if not UPDATED within the last 1800 seconds. If there are folders in that directory, then they are skipped.
- all files in "C:\php\temp" needs to be deleted if not UPDATED within the last 1000 seconds. If there are folders in that directory, they are searched down for files older then 1000 seconds. Those files are remove too. When the sub folder is empty and created more then 1000 seconds ago, then the folder should be delete too.
When mailing me, please start with "Hi Marcel" (or something with my name in it) so i know you read the whole story :)
Hi Marcel This program must be robust so that it does not crash and cause performance issues. I think an interface will be nice to configure the XML settings or rules.
10 pekerja bebas membida secara purata $128 untuk pekerjaan ini
Hi Marcel, I can get this done for you in 2 [url removed, login to view] day - the program development. Second day - revision to your comments, if any. Thanks.