RE: [PHP] timer problem
| From: | John W. Holmes | Date: | Sat, 22 Feb 2003 18:33:32 +0000 |
| Subject: | RE: [PHP] timer problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136651@lists.php.net to get a copy of this message | ||
> Just a little curious. Is there any other way other than cron to do
> this. Is it possible to run a PHP script in an endless loop and when
the
> clock strikes, run another script?
Yeah, I think so, but it'd be worth the effort to just learn cron. You
can use set_time_limit() to zero and run your loop and do your stuff.
Not sure how that is for performance, though...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/