Author Topic: PHP Processes  (Read 407 times)

0 Members and 1 Guest are viewing this topic.

Offline bruno67Topic starter

  • Irregular
    • View Profile
PHP Processes
« on: September 15, 2007, 01:48:53 AM »

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

Offline jagat21

  • Irregular
    • View Profile
Re: PHP Processes
« Reply #1 on: September 15, 2007, 01:54:43 AM »
Hi,

Have a look at PHP Process Control Functions.

http://in.php.net/pcntl

this might help u.

PHP Freaks Forums

« on: »

Tired of these ads? Purchase a supporter subscription to get rid of them.