|
Posted by R. Rajesh Jeba Anbiah on 10/06/05 20:09
chotiwallah wrote:
> not possible using php only.
>
> three possible ways around:
>
> 1. use some web based cron (can't remember an url at the moment, sorry)
FWIW, it's webcron.com
<snip>
> 3. use the most frequented page of your website to call the automated
> script (using a blind image, for instance)
FWIW, you don't have to go for webbug, it's enough that you put your
own cron_handler() function in frequently accessed PHP file. May also
use auto_prepend_file feature
<http://in2.php.net/ini.core#ini.auto-prepend-file>, (but it's a
discouraged approach). But, as you said, it's like reinventing the
wheel.
Possibly, the pure PHP solution is to use sleep() function and set
the maximum execution time to 0 (no limit) and to use it in command
line (so, that it doesn't use webserver resources).
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[Back to original message]
|