Last active
December 19, 2015 14:28
-
-
Save amerine/5969080 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SETlocal enableextensions enabledelayedexpansion | |
CLS | |
TITLE cubeworld Server Watchdog | |
:server | |
echo (%time%) Starting cubeworld | |
start /WAIT /HIGH "cubeworld" "C:\Program Files (x86)\Cube World\Server.exe" | |
TIMEOUT /T 2 | |
echo (%time%) WARNING: cubeworld Closed or Crashed, restarting. | |
GOTO server | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment