How to Create Automated Schedules for Your Server

Learn how to set up automated schedules for server restarts, backups, and custom commands on GhostCap

By the GhostCap teamUpdated

Automate server restarts, backups, and console commands. Schedule times are in UTC, and the panel shows UTC next to every time so you can check.

Creating a Daily Restart

The Daily server restart template is the quickest way to get started, and a good first schedule to set up.

  1. Go to the GhostCap Game Panel and select your server.
  2. Open Schedules.
  3. Click New schedule.
  4. Choose Daily server restart and click Continue.
  5. Give your schedule a name, pick a time (UTC), then click Create schedule.

Building a Custom Schedule

Choose Start from scratch when you want to decide exactly what your schedule does.

  1. Go to the GhostCap Game Panel and select your server.
  2. Open Schedules.
  3. Click New schedule.
  4. Choose Start from scratch, then click Create schedule.
  5. Click the schedule's name to rename it.
  6. Click the time under the name to choose how often it runs: every 15 or 30 minutes, hourly, every 6 or 12 hours, daily, weekly, monthly, or Custom (cron). Click Save.
  7. Click Add step and pick what the schedule should do.

Step Types

StepAction
Send commandRuns a console command, such as say Server restarting in 5 minutes
Power actionStart, Stop, Restart, or Kill the server
WaitPauses before the next step runs
Create backupMakes a backup, optionally leaving out files you list

Steps run in the order they are listed. Drag a step by its handle to move it. A common restart schedule warns players first: a Send command step, a Wait step, then a Restart power action.

Turn on Only when online to skip runs while your server is stopped, or turn off Active to pause a schedule without deleting it.

Schedules run in UTC, so here are the times to enter for a 4 AM restart in your server's location. If you use Custom (cron), the matching cron expression is included too.

LocationTime ZoneTime to Enter (UTC)Cron (Custom)
Los AngelesUTC-812:000 12 * * *
New YorkUTC-509:000 9 * * *
LondonUTC±004:000 4 * * *
FrankfurtUTC+103:000 3 * * *
SingaporeUTC+820:000 20 * * *
SydneyUTC+1018:000 18 * * *

These times don't move with daylight saving time, so a schedule runs an hour earlier or later in local time for part of the year.