How do I set up automatic restarts (every N hours or at a set time)?
Automatic restarts keep your server healthy by clearing accumulated memory and smoothing out slow leaks. HumbleServers has this built in through the Schedules tab — no plugin required. This article shows you how to set one up.
How restarts work in the panel
The Schedules tab is a cron-based task scheduler. Each schedule runs on a timing you choose and can carry one or more task actions, such as a power restart. Because it lives in the panel, it fires reliably whether or not any plugin is loaded.
Set up an automatic restart
- Open the Schedules tab and click Create schedule.
- Set the cron timing for when it should run — for example every 6 hours, or daily at 5am.
- Add a task with the action Power → Restart.
- Save the schedule and make sure it is enabled.
That is all it takes — the panel will now restart your server on the schedule you set.
Tip: Daily or twice-daily restarts keep RAM fresh and smooth out slow memory leaks — a good habit for busy or modded servers.
Frequently asked questions
Do I need a restart plugin? No. The Schedules tab handles restarts natively and reliably. A plugin is only useful if you want in-game countdown warnings before the restart.
What cron timing should I use? Pick a low-traffic hour so players are rarely affected. Every 6–12 hours works well for busy or modded servers; small vanilla servers can restart less often.
Can I warn players before it restarts? Yes — add a "send command" task to the same schedule (with a small delay) to broadcast a warning before the restart task runs.