ESN Docs

Docs › Panel basics

How to schedule automatic restarts, backups and commands

Use the panel's Schedules tab to restart your server every night, make backups on a timer or send console commands automatically.

Schedules run actions on your server at set times, even when you're offline. Common uses: a daily restart to keep a Minecraft server fresh, a backup every night, or a "server restarting in 5 minutes" message.

Create a schedule

  1. Open your server and go to Schedules, then Create schedule.
  2. Give it a name and set when it runs with the Minute, Hour, Day of month, Month and Day of week boxes. These use cron format: * means "every".
  3. Leave Schedule enabled on. Turn on Only when server is online if it should skip runs while the server is stopped.
  4. Save, then open the schedule and add one or more tasks.

Example times

WhenMinuteHourDay of monthMonthDay of week
Every day at 4:0004***
Every 6 hours0*/6***
Every Sunday at 3:30303**0

Times follow the panel's clock. Check the schedule's "next run" time after saving to confirm it's what you meant.

Tasks you can add

  • Send command: types a command into the console, like say Restarting in 5 minutes on Minecraft.
  • Send power action: start, stop, restart or kill the server.
  • Create backup: makes a backup, if your server has backup slots (see Backups).

Each task has a time offset in seconds, counted from the task before it. That lets you chain steps.

Recipe: nightly restart with a warning

  1. Task 1: Send command say Server restarting in 1 minute, offset 0.
  2. Task 2: Send power action Restart, offset 60.
Tip: for a bot, a daily restart is a simple way to clear memory leaks. It doesn't replace fixing the crash; the Console shows why it stopped.

Still stuck? Use the live chat on the panel or ask in the ESN Hosting Discord. Last updated October 27, 2026.