Re: [PHP] Run script every 30 seconds



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


.



Relevant Pages

  • Re: [PHP] problems with exec()
    ... script to move some files around and the script works from the command line. ... Subject: problems with exec() ... PHP General Mailing List ... To unsubscribe, visit: http://www.php.net/unsub.php ...
    (php.general)
  • Re: [PHP] help with script needed
    ... ofcourse whe have the modular:) ... > I have a little script that prints a number out from 1 to 100 ... > PHP General Mailing List ... > To unsubscribe, visit: http://www.php.net/unsub.php ...
    (php.general)
  • Re: [PHP] Website Hit counter and Logger
    ... Have your PHP script write to two files --- one that contains the number ... >> and hit counters for their websites. ... >> PHP General Mailing List ... >> To unsubscribe, visit: http://www.php.net/unsub.php ...
    (php.general)
  • Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)
    ... PHP General Mailing List ... To unsubscribe, visit: http://www.php.net/unsub.php ... On linux the script runs fine. ...
    (php.general)
  • Re: [PHP] exec dont work for svn
    ... >>> dont print anything... ... > ececution time of script error?. ... >> PHP General Mailing List ... >> To unsubscribe, visit: http://www.php.net/unsub.php ...
    (php.general)