How To Schedule Maintenance?

NovemberFalls

Vassal
Customer
Howdy,

I trust all is well with you and yours.

I see that we have the ability to trigger a restart
Code:
#-------------------------------------------------------------
# Settings server reboot
#-------------------------------------------------------------
# Daily autorestart on schedule. The restart in the format of cron.
# If the field is empty, the daily autorestart is disabled by default 5:00
AutoRestartAt = 0 0 * * 3

But how can we schedule this to have a downtime for x amount of minues, or even extend it?

I searched the strings to see if we had a way of doing this and it looks like the closest messages are these but there isnt't a maintenance one.

THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_MINUTES=The server will be coming down in {0} minute(s).
THE_SERVER_WILL_BE_COMING_RESTARTED_IN_S1_MINUTES=The server will be restarted in {0} minute(s).

Does this mean everytime we want to bring the server down for a peroid of time to load things etc we must do it manually?
 
Совершенно непонятно, что именно вам нужно.
Как я понял:
Он видит в стринг
THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_MINUTES=Сервер будет отключен через {0} минут.
THE_SERVER_WILL_BE_COMING_RESTARTED_IN_S1_MINUTES=Сервер будет перезапущен через {0} минут.
И теперь пытается понять как отключить сервер на время. Типо что бы он запустился автоматически через N время.

( только для чего это нужно не понятно.... )
т.к. если планируются работы, то лучше его потом запустить руками :) Чем установить таймер :)
Не понятно для чего это может быть вообще использовано.
В принципе, этот параметр уже есть в GameServer_loop.sh sleep 30; - После рестарта, сервер начнет свою загрузку спустя 30 секунд
 
The reason for this would be if you do a push to git, and suspect that it will take a while for it to go through, but the reality is I've done some pretty massive pushes and with Git the downtime is next to nothing. Its generally a moot point. if you chain the startup to always pull from git, it just does it sequentially anyway.

My apologies.
 
Back
Top