ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject Re: ANT EXECUTE TASK
Date Tue, 13 Dec 2005 17:31:39 GMT
Hello,
 
This is more of an question related to Microsoft Admin tools, not ANT build tool !!!
But, since I work with Windows Boxes I might be able to help you.
Take a look at the sc.exe executable for starting/stopping/managing Windows Services (local
and remote)
 
later,
 
Ninju

----- Original Message ----
From: "Shinde, Vijay" <cuk3@cdc.gov>
To: user@ant.apache.org
Sent: Tuesday, December 13, 2005 10:45:49 AM
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