Hi Gurus Is there a jar file out there that provides ping task to verify if a host connection is working ?
Another approach I have is to use cgwin with ant <exec dir="." executable="cygwin.bat" os="Windows XP" timeout="1000" failonerror="true"> <arg line="_build_ping_alive.sh"/> </exec> _build_ping_alive.sh =============== #!/usr/bin/bash ping linpacdb1 -t 1 | sed '1,4d' | grep -o 100.0 ping linpacdb1 -t 1 | sed '1,4d' | grep -o 0.0 But I'm still getting no/wrong output. [exec] ←]0;~ [exec] [EMAIL PROTECTED] <[EMAIL PROTECTED]> ←[33m~←[0m [exec] $ logout What am I doing wrong ? Any help is appreciated.