Hi,

I have 2 questions.

1) I have a shell script in remote machine to stop and start the job. When i
use sshexec command through ant to execute the script the call to the job
holds it never stops. It continues..I want to run the job in the back-end

Below is the code : <sshexec host="${batch.host.name}"
username="${user.name}" password="${pwd.name}"
command="${batch.dir}/restart.sh"/>

when i execute restart.sh in the 92 box the script starting and running in
the back-ground. Please correct me what's the issue

2) In other project there are some environment variables in the remote
machine. So, when i start the script those environment variables are not
getting set and i am getting error. Any ideas ?

Gubs

--
View this message in context: 
http://ant.1045680.n5.nabble.com/Ant-question-on-sshexec-tp5713361.html
Sent from the Ant - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to