Results 1 to 2 of 2
Need help from linux expert urgent
I need to run few php program concurrently every 5 seconds,
I had R&D on it, and know crontab unable to run in second, ...
- 11-16-2007 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 1
Run php script every 5 seconds
Need help from linux expert urgent
I need to run few php program concurrently every 5 seconds,
I had R&D on it, and know crontab unable to run in second, just minutes
Sure I had my reason to do it,
so I hope any expert can help me on it
I try to do it with Shell script with 'wait' statement,
but to make few php program run concurrently,
I need few shell script? or any better solution?
I am newbie in linux and just work hard on it,
really need your advice.
Thank you very much!
- 11-16-2007 #2
Crontab can do Second just do 0,xx minutes.
And for shell script you can use: "sleep 5"
But, I dont get why you want to run a PHP prog every 5 seconds.
You can also include that in the PHP script itself?
Or well I guess you can beter translate the script to Perl, C++ or something like that.


Reply With Quote