Hi all, I am using the following tasks within a target that check to see if the servers are shutdown or not?
<waitfor maxwait="120" maxwaitunit="second" timeoutproperty="servers.still.running" checkevery="10"> <and> <not><socket server="${server1.host}" port="${server1.port}"/></not> <not><socket server="${server2.host}" port="${server2.port}"/></not> <not><socket server="${server3.host}" port="${server3.port}"/></not> </and> </waitfor> My question is: Is there a deterministic way of finding out if the server has shutdown completely? What if the timeout value is not sufficient ? Any thoughts ? Thanks K _____________________________________________________ *Half of being smart is knowing what you're dumb at *To err is human--and to blame it on a computer is even more so *Gravity is not responsible for people falling in love __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]