Skip to content
CitexNode
All guides

Schedules

A nightly restart, a daily backup, a command on the hour.

2 min read

Create

In the Schedules tab, Create schedule sets up what should happen at a given time. A schedule has an optional name, an action and a cron expression. Under Preset, ready-made times fill in the field, for example "Daily at 04:00", "Every 6 hours", "Weekdays at 06:00" or "On the 1st of every month at 03:00"; you can adjust the expression afterwards. Below it the page shows the next runs.

ActionWhat happens
Startstarts the server if it is off
Stopstops cleanly, like the button
Restartstop and start
Create backupas under Backups, into a free slot
Send console commandsends a line to the console, for example say Restart in 5 minutes; only runs while the server is started

All times are in Europe/Berlin. Only the owner of the server may create and change schedules; members can at most view them.

Cron

Five fields: minute, hour, day, month, weekday (0 = Sunday). At most every ten minutes.

text
0 4 * * *      every day at 4:00
0 */6 * * *    every six hours
0 5 * * 1      Mondays at 5:00
30 3 * * 0     Sundays at 3:30

A restart with a warning

On Minecraft Java servers you do not have to do anything: every schedule with the action Restart is announced to the players in chat, starting 30 minutes ahead. What that looks like, how to switch it off and what the CitexRestart plugin adds is described in Restart with announcement.

On other servers, create two schedules: first a console command with the warning, a few minutes later Restart.

When something goes wrong

For each schedule, the list shows when it last ran and the last error, for example when all backup slots were in use. You pause a schedule with the Active switch without deleting it; paused schedules stay saved but do not run.