Solved Automatically restarting my server every 24 hours?
Discussion in 'Rust Discussion' started by 大官人, May 10, 2015.
-
The only way I KNOW is execute a command every x secs
my plugin can do this
http://oxidemod.org/plugins/timedexecute.919/
one day is = 86400secs -
Creating a cmd:
Code::LOOP start /wait /b "" "RustDedicated.exe" -batchmode ..etc PING 1.1.1.1 -n 1 -w 2000 >NUL GOTO LOOP
( quit 86400 )
command
Is it right? -
Put my plugin to oxide/plugins then go to oxide/config
and open TimedExecute.json u will see
Code:{ "ShowTimedCommands": "true", "TimedCommands": [ [ "server.save", 300 ], [ "say 'hello world'", 600 ] ] }
Code:{ "ShowTimedCommands": "true", "TimedCommands": [ [ "restart'", 86400 ] ] }
-
[DOUBLEPOST=1431251823][/DOUBLEPOST]
I do like this but Dedicated Server just like Command "qiut"
It's not restart,The CMD Disappeared.
I'm Must Start Dedicated Server by .bat Command. -
i type restart it goes off and after 30secs its up -
Code::LOOP start /wait /b "" "RustDedicated.exe" -batchmode ..etc GOTO LOOP
-
-
Does anyone else find if they don't restart there server every 24 hours the RAM keeps increasing until it gets to 100%?