The advent calendar is open

A door every day, a raffle every week

New

EmeraldHost 2.0 is here: the new panel!

Learn more
Guides
GameserverSet Up Scheduled Tasks

How to Set Up Scheduled Tasks on Your Game Server

Schedule automatic backups, restarts and console commands on a game server

5 min read

Since EmeraldHost 2.0, you can create scheduled tasks under Schedules in your server's dashboard. This lets your server do things automatically, e.g. regular restarts, backups or console commands. You decide how often and at what time a task runs, and you can pause, change or start it manually at any time.

Available actions

Action Description At most every
Start Starts your server when it is off. 15 minutes
Stop Shuts your server down cleanly. 15 minutes
Restart Shuts your server down cleanly and starts it again. 30 minutes
Backup Creates a backup of your server. 60 minutes
Send command Sends a command to the console, e.g. a message to all players. 5 minutes

The At most every column shows the shortest gap between two runs of the same task. The wizard does not offer shorter intervals and shows e.g. "Restarts run at most every 30 minutes." If you change the action, it adjusts the schedule automatically and tells you so.

Required permissions

If you are not the owner of the team, your role needs the Scheduled Tasks permission. On top of that, each action needs the permission it also requires when you do it by hand:

Action Additional permission
Start, Stop, Restart Start & Stop
Send command Console: Send Commands
Backup Backups

This applies to creating, editing, pausing, deleting and manually running a task. If you lack the permission for an action, you cannot manage tasks with that action. If you lack all of them, the wizard shows the hint "You are missing the rights for every action. The team owner can grant them to you." To learn how roles work, see Manage roles and permissions.

Create a scheduled task

  1. Open Schedules
    Open your server's dashboard and click Schedules in the left sidebar.

  2. Create a schedule
    Click Create schedule.

  3. Choose the action
    In the Action step, choose what should happen automatically. The Name is suggested from the action and the schedule, but you can change it.

    For Send command, enter the command in the Command field just as you would in the console, without a / at the start.

    "Create schedule" wizard at the "Action" step with the action "Restart" selected (1) and the option "Only while the server is running" enabled (2)

  4. Only while the server is running
    If Only while the server is running is enabled, this run is skipped while your server is off. This option is not shown for the Start action. Then click Next.

  5. Set the schedule
    In the Schedule step, define when and how often the task should run. You can choose Minutes, Hours, Weekly and Monthly. Depending on your choice, you set e.g. every how many hours and at which minute the task runs, or at what time, and on which days (Daily, Weekdays, Weekend or individual weekdays). With Only within a time window you limit the task to a specific period. Then click Next.

    "Create schedule" wizard at the "Schedule" step with the choice of Minutes, Hours, Weekly and Monthly (1), the days with Daily, Weekdays and Weekend (2) and the "Only within a time window" switch (3)

  6. Save the schedule
    In the Overview, check the action, the schedule and the next runs, and click Save schedule. The task is active immediately after saving.

"Presets" section of the "Schedules" page with the filters All, Backup, Restart and Commands and the ready-made tasks; the preset "Daily Restart at 4 AM" is highlighted

Automatic backups

A few things apply to backups in particular:

  • At most once per hour: Backups run at most once per hour.
  • Backup slots: When creating the task, you see how many of your backup slots are already in use.
  • Auto-cleanup old backups: If this option is enabled and all slots are in use, the oldest unlocked backup is deleted. Locked backups are never deleted.

"Create schedule" wizard at the "Action" step with the action "Backup" selected; the "Backup slots" display with 4 of 5 used and the enabled switch "Auto-cleanup old backups" are highlighted (1)

On a trial server you cannot schedule backups. The other actions are available there.

Example: daily restart with a warning

With two tasks, you announce a restart in the game beforehand:

  1. Create the warning
    Create a task with the Send command action that sends a message to all players daily at 03:55. The command you need depends on the game, e.g. say The server restarts in 5 minutes in Minecraft.

  2. Create the restart
    Create a second task with the Restart action that runs daily at 04:00.

Manage tasks

On the Schedules page you see all schedules you have created with Frequency, Next Execution and Last Run. Each row has a menu (…) on the right with these entries:

Entry What happens
Execute Now Runs the task once right away, regardless of its schedule.
View History Opens the Execution History with the previous runs and their output. The last 50 runs are kept per task.
Edit Opens the wizard again to change the action or the schedule. Changes apply from the next run.
Deactivate / Activate Pauses the task or turns it back on. A paused task shows Paused under Next Execution.
Delete Removes the task for good. This cannot be undone.

Table of the scheduled tasks with the open menu (…) of the task "Daily Restart at 4 AM": "Execute Now", "View History" (highlighted), "Edit", "Deactivate" and "Delete"

In the history, a run can show up as Skipped, e.g. when Only while the server is running was enabled and your server was off, or with the hint "Another schedule is already running for this server".

Written byEmeraldHost Team
Last updated on Dec 1, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord

Join our Discord community 1257 members online right now