Skip to content

03Game server panel

Game server schedules and automatic restarts

How to schedule automatic restarts, backups and commands for your Nexthosting game server – with "Neustart planen" or your own schedules in the panel.

In short

For a single restart with advance warning, use the arrow next to Neu starten (“restart”) → Neustart planen (schedule a restart). For anything that should repeat regularly – nightly restarts, backups, chat messages – create a schedule under Zeitpläne (schedules, in the Konfiguration group).

What do you want to schedule?
One restart with a warning to the playersArrow next to "Neu starten" → Neustart planen
Restart or back up every nightCreate your own schedule under Zeitpläne
More power at fixed timesBook a recurring boost
Header of a game server in the Nexthosting panel with the arrow next to Neu starten for scheduling a restart

The small arrow next to “Neu starten” is visible on every page of the server.

  1. Arrow next to Neu starten → Neustart planen (schedule a restart)
  1. Click the arrow next to Neu starten.
  2. Choose Neustart planen and set the time.
  3. Confirm. The panel creates a schedule for this.
What happens during a scheduled restart
  1. First warningMessage in the game chat
  2. Second warningshortly before the restart
  3. RestartServer boots up again
  4. Players reconnect

So your players are told twice and can save or log out beforehand. You will then find the schedule under Zeitpläne, where you can change or delete it. “Neustart planen” exists for games where Nexthosting has enabled it.

A schedule has two parts: when it runs and what it does. The “what” is one or more tasks that are executed one after another.

  1. Open Zeitpläne in the Konfiguration group.
  2. Create a new schedule and give it a name, for example “Restart at night”.
  3. Set when it should run – using the fields minute, hour, day of month, month and day of week (see the examples below).
  4. Decide whether the schedule should only run while the server is running, and switch it to active.
  5. Save and add tasks, for example a command, an action such as restart, or a backup.
  6. For tasks that should run one after another, enter a delay in seconds.

The time is given in the so-called cron format: five fields, where an asterisk * means “every”.

Minute Hour Day Month Weekday Meaning
0 5 * * * every day at 05:00
30 4 * * 1 every Monday at 04:30
0 */6 * * * every 6 hours on the hour
0 3 * * 0,3 Sundays and Wednesdays at 03:00

For the weekday, 0 stands for Sunday, 1 for Monday and so on.

Order Task Delay
1 Command say Restart in 5 minutes –
2 Command say Restart in 1 minute 240 seconds
3 Action: restart 60 seconds

The command for chat messages depends on the game – in Garry’s Mod and Minecraft it is say.

Create a schedule for 04:00 with a task Backup erstellen (create backup). Keep in mind that the number of backup slots is limited. If all are in use, delete old backups, otherwise no new one can be created. More under Backups and databases.

Check that it is active and that the time entry is right. If “only when the server is running” is set, nothing happens while the server is stopped. A backup fails when all backup slots are in use.

Look at the time the panel shows for the schedule (“next run”), and after the first run check in the console that the time fits.

Set a time a few minutes in the future as a test and check in the console whether the tasks are carried out.