L2JMobius
Public Development => Solved/Invalid Bug Reports => Topic started by: krzdev on March 22, 2022, 04:46:31 PM
-
Restart only works for the last value in this configuration (00:00)
the others (06:00, 12:00, 17:50) never happen.
# ---------------------------------------------------------------------------
# Scheduled Server Restart
# ---------------------------------------------------------------------------
# Enable scheduled server restart.
# Default: False
ServerRestartScheduleEnabled = True
# Send a message when player enters the game.
# Default: False
ServerRestartScheduleMessage = False
# Restart time countdown (in seconds).
# Default: 600 (10 minutes)
ServerRestartScheduleCountdown = 300
# Scheduled restart schedule.
# You can put more than one value separated by commas (,).
# Example: 12:00, 00:00
ServerRestartSchedule = 06:00, 12:00, 17:50, 00:00
# Specify days that the restart will occur. Values separated by commas (,).
# Example: 1,2,3,4,5,6,7 (SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY)
# Default: 4 (WEDNESDAY)
ServerRestartDays = 1,2,3,4,5,6,7
-
Try to set it that way:
ServerRestartSchedule = 06:00,12:00,17:50,00:00
-
I've tested this way before, the result is the same
-
Yea, something ain't right there. However in my case it worked differently :)
I had this in my settings
# Restart time countdown (in seconds).
# Default: 600 (10 minutes)
ServerRestartScheduleCountdown = 15
# Scheduled restart schedule.
# You can put more than one value separated by commas (,).
# Example: 12:00, 00:00
ServerRestartSchedule = 20:45, 20:47
# Specify days that the restart will occur. Values separated by commas (,).
# Example: 1,2,3,4,5,6,7 (SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY)
# Default: 4 (WEDNESDAY)
ServerRestartDays = 1,2,3,4,5,6,7
Server has started at 20:43 with message:
[23/03 20:43:08] Scheduled server restart at Wed Mar 23 20:47:00 CET 2022.
However:
[23/03 20:44:45] Server issued shutdown command. SIGTERM in 15 seconds!
...
[23/03 20:45:05] All database data committed.
[23/03 20:45:05] [STATUS] Server shutdown successfully.
After start:
[23/03 20:45:30] Scheduled server restart at Thu Mar 24 20:47:00 CET 2022.
Again 20:47, but next day... This one was skipped.