RE: [PHP-WIN] PHP+Apache question
| From: | Fernando Madruga | Date: | Thu, 15 Mar 2001 14:44:19 +0000 |
| Subject: | RE: [PHP-WIN] PHP+Apache question | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6064@lists.php.net to get a copy of this message | ||
The easy way is to use register_shutdown_function('function_name') and that
function will be executed AFTER the script finishes, so the end use will not
have to wait for it to complete...
HTH,
Fernando Madruga
-----Original Message-----
From: Martin Lindhe [mailto:martin@humany.com]
Sent: quinta-feira, 15 de Março de 2001 14:16
To: 'php-windows@lists.php.net'
Subject: [PHP-WIN] PHP+Apache question
hey fellow php fans :)
i wrote a php script that fetches some information from warious
places on the web and stores the data in a mysql database. tho
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?
/Martin Lindhe
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net