On 15 Mar 2001 06:12:43 -0800, Martin Lindhe <[EMAIL PROTECTED]> wrote:
>the execution can take a long time, so i would want to execute it
>on a regular interval instead, so the data can be fetched from
>the database only, with close enough up-to-date information.
>
>however php (of course) executes scripts as they are accessed, and
>i havent found any hints of how to accomplish this in either php
>or apache documentation. is there a easy solution?
Install the CGI version of PHP and set up a batch file which calls it to run
your script; this batch file can then be added to the system scheduler.
Alternately, you could modify your script to basically call sleep() and start
again instead of existing.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]