Re: [Call for Votes] System_ProcWatch

From: Date: Thu, 13 Nov 2003 09:43:18 +0000
Subject: Re: [Call for Votes] System_ProcWatch
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23576@lists.php.net to get a copy of this message
Michael Wallner wrote:
Just one thing to configuring by array - they'll get rather complex: $config = array( 'job1' => array( 'pattern' => array( 'command' => '/httpd/' ), 'condition' => array( 'presence' => array( 'max' => 50, 'min' => 5 ) ), 'execute' => array( 'shell' => 'ring_the_bell.sh', 'php' => '_procwatch_callback($procs);' ) ), 'job2' => ... ); looks great to me :) .. clearer than the xml :)
Regards Alan
So I thought a simple XML structure would suffice here. Regards,
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.dev (#23576) next »