Automate with schedules
A schedule runs a list of tasks at set times, such as a nightly restart or a backup. Open your server, then Manage, then Schedules.
Create a schedule
Section titled “Create a schedule”- Click New schedule.
- Give it a Schedule name, such as “Nightly restart”.
- Set when it runs with the Minute, Hour, Day of month, Month and Day of week fields. Click Show cheatsheet for examples.
- Leave Only when the server is online on to skip runs while the server is stopped.
- Click Create schedule.
Times are in UTC. Use a time zone converter to find the UTC time for your own clock.
The fields use cron format. Some examples:
| Minute | Hour | Day of month | Month | Day of week | Runs |
|---|---|---|---|---|---|
0 |
4 |
* |
* |
* |
Every day at 04:00 UTC |
*/30 |
* |
* |
* |
* |
Every 30 minutes |
0 |
*/6 |
* |
* |
* |
Every 6 hours |
0 |
12 |
* |
* |
0 |
Every Sunday at 12:00 UTC |
Add tasks
Section titled “Add tasks”Open the schedule and click New task. Pick an Action:
- Send a command runs a console command, without the slash.
- Power action starts, restarts, stops or terminates the server.
- Create a backup makes a backup. When both backup slots are full, it replaces the oldest unlocked backup.
Tasks run from top to bottom. Wait before running sets how many seconds a task waits after the one before, up to 900. Turn on Continue on failure to run the next tasks even if this one fails.
A restart with a warning first looks like this:
- Send a command:
say Restarting in 5 minutes - Send a command, wait 240 seconds:
say Restarting in 1 minute - Power action, wait 60 seconds: Restart the server
Test, pause or delete
Section titled “Test, pause or delete”- Run now runs the schedule’s tasks straight away.
- Turn off Schedule enabled to pause it without deleting it.
- Delete schedule removes it and its tasks.