I have one problem that could work one of two ways. I am running a Minecraft 1.8.5 server. I want to start it stop it and restart it every hour. The reason why I said one of two ways it because I could either make a batch that types "stop" in the console input (I think this would work better) or Just stop the program all together here is what I have made so far ( I am planning to run this in multiply helper files to close only but any thing will help.
This opens the Minecraft server:
echo.
echo Waiting For One Hour...
TIMEOUT /T 3600 /NOBREAK
echo.
start minecraft_server.1.8.5
echo Minecraft Opened! pause >nul
This I can not get to work (separate file that I will eventually integrate into the first script):
@echo on
TASKKILL /F /IM Minecraft server /T
echo killed!