Automatic restarts with Schedules
Daily restarts keep a survival server healthy. Java leaks memory over long uptimes, and a lot of plugins misbehave after days without a reboot. The panel's Schedules tab does this with cron expressions.
1. Create the schedule
Schedules tab (top nav) → Create schedule. Set a name like "Daily restart" and a time in cron format: minute, hour, day of month, month, day of week.
You want | You enter |
|---|---|
Every day at 6 AM |
|
Every 12 hours |
|
Twice a day, 4 AM and 4 PM |
|
Weekly, Sunday 5 AM |
|
If you're not sure your expression does what you think, crontab.guru translates cron into English. Also: the schedule runs on the timezone set in your account profile, not the server's physical timezone, so check that first if the timing looks off .
Leave Only when server is online ticked for restarts (no point "restarting" a server that's off; untick it and the schedule will actually boot an offline server if you ever want that). Leave Enabled ticked and hit Create schedule.
2. Add the restart task
Open the schedule you just made → New Task:
Action: Send Power Action
Payload:
restartTime offset:
0seconds
Create task. Done, it'll restart on schedule.
3. Optional: warn players first
One-click restarts kick everyone with no warning. A politer version uses a few tasks in sequence. Tasks run in order, and the time offset on each one is a delay in seconds before it fires:
Send Command →
say Server restarting in 5 minutes→ offset 0Send Command →
say Server restarting in 30 seconds→ offset 270Send Power Action →
restart→ offset 30
Notes
A restart task on an offline server does nothing if "only when online" is ticked.
If you use a whitelist or a queue plugin, restarts don't bypass it. Rejoins work the same as always.
Schedules are per-server. A second server needs its own schedule, and give them different times so two nodes don't reboot at the same minute.