Schedules: automatic restarts and backups
A backup every night, a restart every morning or an announcement in chat, without you being online.
A schedule decides when something happens; its tasks decide what happens. A task can send a command, start, stop or restart the server, or create a backup.
- Open your server in the Panel, click
SchedulesunderManagementon the left, thenCreate schedule. - Enter a name, for example
Nightly restart. - Set the time:
Minute0 andHour5 means every day at 5:00.Day of month,MonthandDay of weekstay at*(every).Show cheatsheetlists more examples. - Leave
Schedule enabledon. WithOnly when server is onlineit only runs while the server is running. - Click
Create schedule, then open it with a click. - Click
New task, choose for exampleSend power actionunderActionand thenRestart, and confirm withCreate task.
Examples
- Announce the restart: first task
Send commandwithsay Restart in 1 minute, second task the restart with a time offset of 60 seconds. - Backup every night:
Minute30,Hour4, taskCreate backup. More in the Backups guide. - Sundays only: enter
0underDay of week.
Times are German time. Run now tests a schedule immediately without waiting for the time.