You are here: Re: Automated Script « PHP Programming Language « IT news, forums, messages
Re: Automated Script

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация