Re: Delete all files in DIR every 20 days

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim Burgan wrote:
Hello,

How can I delete ALL files within a specified directory every 20 days?
Does anyone know of any code-snippets that are around at the moment that are able to do this? (And where I can find them?)


Thanks

Tim

Write a script that will delete them, and set the script to run on a cron (*nix) or via the Task Scheduler (Windows).


--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux