n14charlie Posted August 17, 2009 Share Posted August 17, 2009 I tried the following but it didn't work: php -q /address/cron.php sleep 5; php -q /address/cron.php I want the command to run a script when it's finished wait 5 seconds then run it again (it's important the 5 seconds start counting when the first run is over) Quote Link to comment https://forums.phpfreaks.com/topic/170590-cron-job-running-multiple-scripts/ Share on other sites More sharing options...
trq Posted August 17, 2009 Share Posted August 17, 2009 php -q /address/cron.php; sleep 5; php -q /address/cron.php Quote Link to comment https://forums.phpfreaks.com/topic/170590-cron-job-running-multiple-scripts/#findComment-899845 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.