Skip to main content

Schedules: Server Automation

Restarting your server and making backups by hand every day gets old fast. That is where the Schedule feature comes in. It is a built-in panel tool that takes care of repetitive tasks for you.

With it, you can automatically:

  • Secure your map files while you sleep.
  • Restart the machine at night to clear RAM and reduce lag.
  • Send recurring messages to players (like Discord reminders).

You can set up all these tasks in the Schedule tab of your server management panel.

How does the time setup work? (It is simple!)

The panel uses a standard time format where you need to fill in 5 fields. It sounds complicated, but for most tasks, you just need to enter a specific minute and hour, and put a star * in the rest. The star simply means "every" (every day, every month).

For example, if you want a task to run every day at 2:30 PM (14:30), you will enter:

  • Minute: 30
  • Hour: 14
  • Day of the month: *
  • Month: *
  • Day of the week: *

1. How to set up an automatic restart (e.g., at 4:00 AM)?

We recommend restarting the server from time to time. The best time is at night when no one is playing.

  1. Go to the Schedule tab in your server panel.
    Harmonogram1
  2. Click Create schedule and name it, e.g., Daily Restart.
    Harmonogram2
  3. Fill in the execution time. For 4:00 AM, enter:
    • Minute: 0
    • Hour: 4
    • Rest of the fields: *
      Harmonogram3
  4. Open the newly created schedule and click New task.
  5. Fill out the form:
    • Action: Send power action
    • Payload: select Restart the server
      Harmonogram4
  6. Click Create task. The server will restart on its own.

2. How to set up a daily server backup (e.g., at 3:50 AM)?

Backups are an absolute must. A good practice is to do it right before the nightly server restart.

  1. In the Schedule tab, create a new schedule and name it e.g., Nightly Backup.
  2. Fill in the time fields, aiming for 3:50 AM:
    • Minute: 50
    • Hour: 3
    • Rest of the fields: *
  3. Save the schedule, open it, and click New task.
  4. Fill out the form:
    • Action: Create backup
    • Payload: Leave empty.
  5. Click Create task. Your files are now safe.

3. How to send players a restart warning?

To prevent players from being surprised by a sudden server shutdown, you can set up an automatic message right before the restart. If our restart is at 4:00 AM, let's set the warning for 3:55 AM.

  1. Create a schedule and name it Restart Warning.
  2. Fill in the time (3:55 AM):
    • Minute: 55
    • Hour: 3
    • Rest of the fields: *
  3. Open it and add a New task.
  4. Fill out the form:
    • Action: Send command
    • Payload: say WARNING! The server will automatically restart in 5 minutes!
  5. Click Create task. The message will appear in the game chat.