Re: [Call for Votes] System_ProcWatch

From: Date: Thu, 13 Nov 2003 09:48:25 +0000
Subject: Re: [Call for Votes] System_ProcWatch
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23577@lists.php.net to get a copy of this message
Hi Alan Knowles, you wrote: > Michael Wallner wrote: >> >> $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 :) Serious? Clearer than: <watch> <name>job1</name> <pattern> <command>/httpd/</command> <condition> <presence> <min>5</min> </presence> </condition> <execute> <shell>make_a_poo.sh</shell> </execute> </watch> I see no difference at all though... After all, I think now, configuring with array is easier than by XML_Unserializer, because the output of XML_Unserializer is somewhat inconsitent. Hm... Regards, -- Michael - < mike(@)php.net >

Attachment: [application/pgp-signature]
« previous php.pear.dev (#23577) next »