You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Sorensen <JO...@mtctrains.com> on 2005/06/14 15:40:13 UTC

How to Schedule a startup of Tomcat in Windows2000

We need to restart the tomcat service each week automatically using the Windows 2000 Scheduling Process.  I've tried running startup.bat, startup.sh with no luck.  The 'Service' process is 'jk_nt_service.exe Tomcat', of which I've tried in the 'run' process of the Scheduler.  None of these commands seems to 'restart' the 'tomcat service'.

Re: How to Schedule a startup of Tomcat in Windows2000

Posted by smmarrt <sm...@yandex.ru>.
>We need to restart the tomcat service each week automatically using the Windows 2000 Scheduling Process.  I've tried running startup.bat, startup.sh with no luck.  The 'Service' process is 'jk_nt_service.exe Tomcat', of which I've tried in the 'run' process of the Scheduler.  None of these commands seems to 'restart' the 'tomcat service'.
>
Try this .bat file:
sc stop Tomcat5
sc start Tomcat5

Change Tomcat5 to service name you are using

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


Re: How to Schedule a startup of Tomcat in Windows2000

Posted by Viorel Dragomir <vd...@wylog.com>.
net stop tomcat
net start tomcat



Viorel Dragomir

.
..
-------------------------------------------------------------------



----- Original Message ----- 
From: John Sorensen 
To: tomcat-user@jakarta.apache.org 
Sent: Tuesday, June 14, 2005 15:40
Subject: How to Schedule a startup of Tomcat in Windows2000


We need to restart the tomcat service each week automatically using the Windows 2000 Scheduling Process.  I've tried running startup.bat, startup.sh with no luck.  The 'Service' process is 'jk_nt_service.exe Tomcat', of which I've tried in the 'run' process of the Scheduler.  None of these commands seems to 'restart' the 'tomcat service'.