users@glassfish.java.net

Re: restart glassfishv2u2 programmatically

From: <glassfish_at_javadesktop.org>
Date: Fri, 19 Sep 2008 13:09:17 PDT

I have to agree entirely with Stephen. The 25% of your CPU is due to executing the ping command.

If there is no sleep() command in DOS/Windows batch file scripting, then you really should write a little Java (or C, or Perl, or anything with a proper sleep()) and use that instead.
[Message sent by forum member 'wfay' (wfay)]

http://forums.java.net/jive/thread.jspa?messageID=300453