#
Scheduled Maintenance
Scheduled maintenance allows you to configure when maintenance will start, and optionally when it will end.
Schedules use the CRON timing format. You can use this website to help you generate the correct time.
#
Managing Scheduled Maintenance
To schedule a maintenance start time, use the /maintenance schedule repeating start <crontime>
command.
If your server is offline at the time maintenance is scheduled to start, it will be skipped, and executed at the next start time.
To schedule a maintenance end time, use the /maintenance schedule repeating end <crontime>
command.
If your server is offline at the time maintenance is scheduled to stop, it will be skipped, and executed at the next stop time.
To disable scheduled maintenance when your server restarts, use the /maintenance schedule disableOnRestart true|false
command.
This will keep your schedule intact, but will disable maintenance when the server restarts.
#
Disabling a maintenance schedule
To disable your maintenance schedule completely, you can use the same commands as above for start/stop, but set the time to ""
. Alternatively, set the start/end times in your config to ""
and use the /maintenance reload
command.