On second thought, do you just want the script to run and sleep or
actually schedule it as a job? You could just use sleep().
Advertising
set_time_out(0);
while ($i = 0){
your code
sleep(60);
}
We use this at my company for a file parsing program, it runs, sleeps 15
minutes and repeats.
-Scott
On Thu, 25 Jul 2002, Paul O'Neil wrote:
> I have a php script I would like run like a cron job every so many minutes.
> How is this done?
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php