what about pkill on the ant process itself?

On Tue, 24 Nov 2009, Harry_ wrote:


Hello,

I want to schedule a task using ant using crontab.

On shell script will start the ant and the task I want to run. This is easy.

One shell script will kill the above ant process.

But the problem is that multiple java processes are running on machine. I
only want to kill only the ant process, How can I do that. Any Ideas.

Like noting process ID of ant process created above and then killing it with
kill script. I do not know how to do this. Someone point me to link where I
can get information about how to do this.

Thanks and Regards
--
View this message in context: 
http://old.nabble.com/Killing-Ant-process-through-shell-script-when-multiple-Java-processes-are-running...-tp26498920p26498920.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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



Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

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

Reply via email to