Re: background process
| From: | DL Neil | Date: | Mon, 29 Oct 2001 11:48:03 +0000 |
| Subject: | Re: background process | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13803@lists.php.net to get a copy of this message | ||
> has anyone here created an application using
> background processes? what i have in mind
> is to be able to run the background process
> once a day to check for files that are more than
> 5 days old and delete them. thanks in advance.
ric,
PHP (and scripts) can be executed from the command line (given that it has been appropriately set up
on your
m/c). This is discussed in the docs. Thereafter it becomes a matter of setting up a
'trigger' to kick-off
execution at set times using CRON (*nix) or AT (Windows?32-bit).
=dn