Victus Cloud / Support
GAME SERVERS

Schedule automatic restarts

Use the Schedules tab on Victus to automatically restart your Minecraft server on a cron schedule, keeping TPS healthy and memory clean.

A daily automatic restart keeps a Minecraft server healthy: it reclaims leaked memory, clears entity buildup and refreshes plugins, which prevents the slow TPS decline that happens on long-running servers. Victus has a built-in Schedules tab that runs tasks on a cron schedule — no external tools needed.

Create a restart schedule

  1. Open the Schedules tab and create a new schedule.
  2. Set the cron timing — for example run once daily at a quiet hour (e.g. 05:00).
  3. Add a task of type "Power" with the action Restart.
  4. Optionally add an earlier task that sends a console command to warn players (see below).
  5. Save and make sure the schedule is enabled/active.

Warn players before the restart

  1. Add a "Send command" task a few minutes before the Restart task.
  2. Use say Server restarting in 5 minutes (or broadcast on some setups) so players can reach safety.
  3. Sequence the tasks with time offsets so the warning fires before the power action.
say Server will restart in 5 minutes
# ...5 minutes later, the Power > Restart task runs
Cron is in the server's time

Schedule times use the panel/daemon clock, which may not be your local time. Pick a low-traffic hour and confirm the "next run" time the panel shows after saving.

Pair it with backups

You can also schedule a Backup task (Backup action) on the same Schedules tab so you get a nightly backup right before or after the restart. See "Create and restore backups".

Was this article helpful?

Still stuck?

Our team can help with your account or service.

Open a ticket →