ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shinde, Vijay" <c...@cdc.gov>
Subject RE: ANT EXECUTE TASK
Date Tue, 13 Dec 2005 18:37:10 GMT
I was trying following command

sshexec host="servername"
  	username="antuser"
  	password="Password1"
  	command="NET STOP IIS Admin Service" />

It Is throwing connection refused error.

Thanx & Regards,
Vijay Shinde,PMP
eHARS Application Architect/Application Development Lead,
CITS-2
SDMB Office:     404.639.2999 

-----Original Message-----
From: Shinde, Vijay 
Sent: Tuesday, December 13, 2005 11:46 AM
To: user@ant.apache.org
Subject: ANT EXECUTE TASK


I am using this tasks to start/stop windows services.

Is there any way I can able to START/STOP services on other server.


<exec executable="net">
    	<arg value="stop"/>
    	<arg value="World Wide Web Publishing Service"/>
  </exec>
  <exec executable="net">
  	<arg value="stop"/>
  	<arg value="IIS Admin Service"/>
  </exec>

Vijay

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message