Restart Tomcat with command time: 12:42:31 Source: Network Author: Unknown CLICK: 564 times
Create a file with the suffix. BAT and add the following content. Set the task plan.
Echo closes the database
Net stop tomcat5 & nbsp;
Create a file with the suffix. BAT and add the following content. Set the task plan.
Echo closes the database
Net stop tomcat5
Echo stop Tomcat sussufull
Echo start Tomcat
Net start tomcat5
Echo start Tomcat sussufull
Pause
Note:
Net stop tomcat5 is the service name in the service.
JRun Service Startup note that the service name must be enclosed in double quotation marks
Echo disable jrun4 Server
Net stop "Macromedia JRun Default Server"
Echo stop jrun4 sussufull
Echo start jrun4
Net start "Macromedia JRun Default Server"
Echo start jrun4 sussufull
This articleArticleSource: Institute of Development http://edu.codepub.com Source: http://edu.codepub.com/2010/0902/25578.php