Re: Delete all files in DIR every 20 days
| From: | Jason Barnett | Date: | Mon, 14 Feb 2005 16:50:21 +0000 |
| Subject: | Re: Delete all files in DIR every 20 days | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208651@lists.php.net to get a copy of this message | ||
Tim Burgan wrote:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
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 TimPlease give the list longer than an hour to respond to your request ;) I would recommend a cron job (*nix) or a scheduled task (Windows) to do this. Search the web for whichever of these applies to you. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://www.php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc