ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z W" <>
Subject Check process on remote host - Can Ant do that ?
Date Tue, 05 Feb 2008 22:24:34 GMT

I have an ant script that needs to check the status of a process running on
a remote machine and if the
process has stopped running, I like the Ant script the ability to know that
and move on to the next step in Ant script.
Could someone here give a simple example on how to implement that ?
I have some idea of using sleep to periodically check for a remote process
is there an Ant task or a workaround that I could implement to check the
process using ps ?
I'm not sure sshexec could help me with that.

Thank you all for your helpful tips and comments

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message