bruno67 Posted September 15, 2007 Share Posted September 15, 2007 I have a cronjob triggering a php script that takes several minutes to accomplish. I need to prevent multiple triggering by the cronjob mulfunctioning. So I would like a clean way to know how many instances of a certain php are currently working on the server. is there a server variable for that? if not, how do I know (via php) how many concurrent accesses are there to a certain php page? for example in mysql (the "SHOW PROCESSLIST" command), but I need a similar function for the php page iself. thank you for your help Quote Link to comment https://forums.phpfreaks.com/topic/69435-php-processes/ Share on other sites More sharing options...
jagat21 Posted September 15, 2007 Share Posted September 15, 2007 Hi, Have a look at PHP Process Control Functions. http://in.php.net/pcntl this might help u. Quote Link to comment https://forums.phpfreaks.com/topic/69435-php-processes/#findComment-348898 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.