Hi everybody,
maybe someone can help me here. I´m trying a couple of hours to get Smooth Restarter to run on my server.
In the Configuration i can read this here:
but in my SmoothRestarts.cs i have download is this here:
void LoadVariables()
{
rebootTimes = (Dictionary<string, object>)GetConfig("Timers", "RebootTimes", defaultRebootTimes());
countDownMinutes = (List<object>)GetConfig("Settings", "ShowMinutes", defaultCountDownMinutes());
countDownSeconds = (List<object>)GetConfig("Settings", "ShowSeconds", defaultCountDownSeconds());
useTimers = Convert.ToBoolean(GetConfig("Timers", "useTimers", true));
Can someone say me where i have to write my Server restart at 12:00??
Sorry for my bad english:-)
Greetings
maybe someone can help me here. I´m trying a couple of hours to get Smooth Restarter to run on my server.
In the Configuration i can read this here:
"Timers": {
"RebootTimes": {
"11:15": "45", //would restart at 12:00 with a countdown of 45 minutes
"23:30": "30" // would restart at 00:00 with a countdown of 30 minutes
},
"useTimers": false // needs to be enabled to use the automated timers
}but in my SmoothRestarts.cs i have download is this here:
void LoadVariables()
{
rebootTimes = (Dictionary<string, object>)GetConfig("Timers", "RebootTimes", defaultRebootTimes());
countDownMinutes = (List<object>)GetConfig("Settings", "ShowMinutes", defaultCountDownMinutes());
countDownSeconds = (List<object>)GetConfig("Settings", "ShowSeconds", defaultCountDownSeconds());
useTimers = Convert.ToBoolean(GetConfig("Timers", "useTimers", true));
Can someone say me where i have to write my Server restart at 12:00??
Sorry for my bad english:-)
Greetings