Hi the community!!
I host a server Minecraft on a computer with Vista and I must restart my server manually for maintenance. I'm not very good in Batch files and I'm looking for something that would stop and restart my server/computer at a specific time automatically.
The batch file would be like:
"At a specified time, (Example: at 3 am)
Stop the server (Write stop in the cmd (The server window already open)),
Restart the computer,
Start the server (Run my startServer.bat)."
To run my server, I run a Batch file (startServer.bat) with this line :
java -Xms512M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar
Waiting for you responses
I host a server Minecraft on a computer with Vista and I must restart my server manually for maintenance. I'm not very good in Batch files and I'm looking for something that would stop and restart my server/computer at a specific time automatically.
The batch file would be like:
"At a specified time, (Example: at 3 am)
Stop the server (Write stop in the cmd (The server window already open)),
Restart the computer,
Start the server (Run my startServer.bat)."
To run my server, I run a Batch file (startServer.bat) with this line :
java -Xms512M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar
Waiting for you responses