Re: Run script every 30 seconds
| From: | James Tu | Date: | Mon, 30 Oct 2006 17:40:25 +0000 |
| Subject: | Re: Run script every 30 seconds | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243898@lists.php.net to get a copy of this message | ||
I've never tried this myself, but how about having the cron job kick off a script which will run script A and script B
Script A runs right away, and script B runs after a delay of 30 seconds ( usleep(30* 1000000) )?
-James
On Oct 30, 2006, at 12:29 PM, Ahmad Al-Twaijiry wrote:
Hi everyone, I have a script that I want it to run every 30 seconds, the problem is that cronjob can run every 1 minute only, do you have any solution ? -- Ahmad http://www.v-tadawul.com --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php