Why do people insist on using Server restarters? Why not just program the server well enough that it doesn't require a restart every 30 minutes?
|
Why do people insist on using Server restarters? Why not just program the server well enough that it doesn't require a restart every 30 minutes?
I'm having the same problem and I need an auto restarter to, this is the best I've got:
@echo off
title Server Automated Restarter
tart
set time=3600
start Runserver.bat
:loop
cls
IF %time% GTR 0 (
set /a time=%time% - 1
set /a min=%time%/60
echo Next Restart In %time% Seconds or %min% Minutes.
ping 127.0.0.1 -n 2 > NUL
goto loop
)
taskkill /f /im java.exe
cls
goto start
but it will rollback every time it restarts
Add 3 catch exceptions to the player looping and update your cryption = 24/7 no restarts... >.< Credits : blakeman
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |