Help Game servers Use the game panel
Schedule restarts and backups
Have the panel warn your players, take a backup and restart the server every night, without you being there.
A schedule is a list of tasks the panel runs at the times you set. The usual one is a nightly backup and restart, so you always have yesterday's world to go back to.
How a schedule works#
Its tasks run top to bottom when the time comes, each waiting the seconds you set after the one before. The timetable is five boxes, as in Linux's cron: * means every, and */6 means every sixth.
| Box | Takes | Every day at 04:00 | Every 6 hours |
|---|---|---|---|
| Minute | 0 to 59 | 0 | 0 |
| Hour | 0 to 23 | 4 | */6 |
| Day of Month | 1 to 31 | * | * |
| Month | 1 to 12 | * | * |
| Day of Week | 0 to 6, 0 is Sunday | * | * |
Make a nightly restart with a backup#
- On the Schedules tab, press Create schedule and name it, for example
Nightly restart. - Fill in the timetable for every day at 04:00, from the table above.
- Leave Only When Server Is Online and Schedule Enabled on, and save.
- Open it from the list and add these tasks with New Task, in order:
| Task | Time offset | What to put |
|---|---|---|
| Send command | 0 | say Restarting in 5 minutes for the nightly backup |
| Send command | 240 | say Restarting in 1 minute |
| Send command | 60 | save-all |
| Create backup | 10 | Ignored files: logs, if you like |
| Send power action | 10 | Restart the server |
Press Run Now on the schedule once to see it work while you watch the Console.
Other useful schedules#
| Schedule | Timetable | Tasks |
|---|---|---|
| Restart a busy modded server | Every 6 hours | The warnings and restart, without the backup |
| Weekly backup | Day of Week set to the day you want | One Create backup |
| Daily restart for a bot | Every day | One Send power action. Bots have no chat to warn. |
When a schedule didn't run#
Check Schedule Enabled is on. With Only When Server Is Online, a stopped server is skipped. A failed task stops the ones after it unless Continue on failure is ticked; Activity and the Console show what happened.
Still stuck? Open a ticket and say which guide you followed.