@echo off
Rem Restart script for Tomcat on Windows environments, installed as a service, after a certain number of seconds.
Rem 2019 BMC Software
Rem Romuald Bois
echo Tomcat service restart script
echo DO NOT CLOSE THIS WINDOW
echo It will close automatically at the end of the restart process
SC stop Tomcat8
Rem edit the value 250 and set another higher number of seconds if needed to give the service time to stop itself and unload from memory.
TIMEOUT /t 250 /nobreak >nul
echo Tomcat Service has stopped, restarting now
SC start Tomcat8


