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 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. Link to comment https://forums.phpfreaks.com/topic/69435-php-processes/#findComment-348898 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.