Jump to content
Magotchi

Proper Method for Scheduled Server Restarts

Recommended Posts

Currently I have a monitoring script which does my script/ban updates and restarts the server if it's crashed or not running.

For scheduled restarts, I have Task Scheduler run a batch file every 6 hours containing only "taskkill /im arma2oaserver.exe". This closes the server's process, and the monitoring script then restarts it, seeing it not running.

Is this improper? Do I risk a less stable game or loss of data by simply having Windows close the game's process?

If so, what should I do instead? Do I need to script things to restart the game via RCon? If so, how do I get timely updates of my scripts/bans?

Any help would be appreciated.

Edited by Mister_Magotchi

Share this post


Link to post
Share on other sites
Guest

Let me point you in the direction of a tool I've come to love. It's called 'BattleEye Extended Controls' and it's awesome.

Link - http://ibattle.org/

It's a bit complicated and cumbersome to set-up, but with a little know-how and some patience, you can get it running like clockwork; as it has a built in scheduler that can send commands directly to the server. In your case, #shutdown.

Edited by Guest

Share this post


Link to post
Share on other sites

Ah. Yeah. That sounds way better. The #shutdown command didn't occur to me, but that solves the other problem with the updates, too.

Share this post


Link to post
Share on other sites
Guest

Ah. Yeah. That sounds way better. The #shutdown command didn't occur to me, but that solves the other problem with the updates, too.

Yup, you can actually even code custom server commands with this tool; then issue them on a schedule to the server. I use it to repeat messages to my players, backup files, etc.

Share this post


Link to post
Share on other sites

Thanks again for your help. Bec works like a charm it seems.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×