Schedule an automatic server restart (cron)

Step-by-step guide

your server warns players then restarts by itself every night, and you can adjust the time with a cron expression.

Time : 5 minutesLevel : intermediateChecked : 17 Nov 2026

Before you start

  • Mind the time: the panel uses a time zone that may differ from yours. Check when the first run happens.
  • Avoid restarting during your playing hours: pick a quiet moment.
1

Open the screen

Planification menu (Configuration section). The list shows each schedule’s name, last run and status; it is empty until you create one.

2

Create a schedule

Click Créer une planification and fill in:

  1. Nom de la planification (name): a clear name (“Nightly restart”).
  2. Mode Facile (easy mode): five lists Minute, Heure (hour), Jour du mois (day of month), Mois (month), Jour de la semaine (weekday), and a “Preview” line spelling out when it will run (“Every 5 minutes” by default). Avancé (advanced) lets you type a cron expression.
  3. Uniquement lorsque le serveur est en ligne: the schedule only runs if the server is up.
  4. Planification activée: switch it off to pause it without deleting it.
Schedule an automatic server restart (cron) : Create schedule window
Create schedule window
3

Add the tasks

A schedule is a trigger: it then runs tasks. After creation the row appears with its status (Inactif if you switched it off); Gérer la planification opens its detail, with Modifier (edit), Nouvelle tâche (new task) and the bin buttons, and a summary of the timing (“next run”).

Click Nouvelle tâche:

  1. Action: “Send a command” (default), “Send a power action” (start, restart, stop, kill the server), “Create a backup”, “Discord webhook” or “Delete files”.
  2. Décalage horaire (en secondes): the wait after the previous task; no effect on the first task.
  3. Charge (payload): the command to send (for example list).
  4. Continuer en cas d’échec: later tasks still run even if this one fails.

Then Créer une tâche. For example: task 1, a warning message to players; task 2, a few minutes later, the restart.

Schedule detail
Schedule detail
New task window
New task window
4

The example to copy: restart every night at 5 am

  1. Créer une planification, named “Nightly restart”.
  2. Switch to Avancé (advanced mode, the switch to the right of “Mode Facile”). The five fields are a cron expression: Minute = 0, Heure (hour) = 5, and * (any value) for day of month, month and weekday. The “Preview” line must read “At 05:00 AM”: that is your check.
  3. Save, then add two tasks:
    – task 1: Send a command with the message to players (on Minecraft: say Server restarting in 1 minute), offset 0;
    – task 2: Send a power action, payload Restart the server, offset 60 seconds: the restart happens one minute after the message.
  4. Leave Planification activée on so it runs every night.
Cron: 0 5 * * * = 05:00
Cron: 0 5 * * * = 05:00
Restart task, 60 seconds later
Restart task, 60 seconds later
The schedule's two tasks
The schedule’s two tasks

A few cron times (minute, hour, day of month, month, weekday): 0 5 * * * every day at 5 am; 0 */6 * * * every 6 hours; 30 4 * * 1 every Monday at 4:30 am. The Afficher la triche (cheat sheet) switch lists more examples.

5

Test it right away

Once it holds at least one task, the Exécuter maintenant (run now) button appears: the status switches to “En cours” (running) and the task goes. On our test Minecraft server, the list command sent by the schedule did show up in the console.

Schedule with its task
Schedule with its task

If it does not work

Nothing happens at the planned time

check the schedule is enabled (status “Actif”, not “Inactif”), the server is online (if “only when online” is ticked), and the time shown in “next run”.

The restart hits mid-game

change the time (Heure field) or add a longer warning message before the restart (raise the offset).

I want to test without waiting

open the schedule and click Exécuter maintenant.

Questions? Get in touch

Our team will answer by message or on Discord.

No game server yet?

Launch yours in minutes. €1 = 1 GB.

Browse our games