Skip to content

Schedules ​

The Schedules tab runs tasks on a timer: restart every night, announce it first, back up every six hours. You need the schedules.manage permission.

A schedule ​

FieldMeaning
NameA label
CronWhen it runs: five fields, minute hour day-of-month month day-of-week, in UTC
EnabledOff keeps it but does not run it
Only when onlineSkip the run if the server is not running
TasksUp to 20, run in order

A server can have up to 20 schedules. Run now runs one at once.

Cron examples ​

CronRuns
0 4 * * *Every day at 04:00 UTC
*/30 * * * *Every 30 minutes
0 */6 * * *Every 6 hours
0 3 * * 1Mondays at 03:00 UTC
0 0 1 * *The first of each month

Shortcuts like @daily are not accepted. Times are UTC, so convert from your time zone.

Tasks ​

TaskPayload
CommandA console command, one line, up to 1000 characters
Powerstart, stop, restart or kill
BackupOptional patterns to leave out, as for backups. Scheduled backups delete the oldest unlocked backup when the server is at its limit

Each task can wait up to 900 seconds (15 minutes) after the one before it, and can be set to continue on failure so the next task runs even if this one fails.

Example: a nightly restart with warnings ​

#TaskPayloadWait
1Commandsay Restarting in 5 minutes0
2Commandsay Restarting in 1 minute240
3Commandsave-all50
4Powerrestart10

Cron: 0 4 * * *.

Whose permissions ​

A schedule runs with the permissions of the person who last saved it. If that person loses access to the server, or the needed permission, its tasks fail. When their account is deleted, their schedules on other people's servers are turned off.

The last run's time and result are shown on each schedule.

Released under the AGPL-3.0 license.