Documentation / Scheduled tasks
Run your server
Minecraft server scheduled restarts, backups and commands
Schedule a nightly restart, weekly backup or timed console command on your Eytak server. How times, intervals, the task limit and failed runs work.
You can make your server restart every night, take a backup every Sunday, or announce a reset on the hour without being at the keyboard. Open the server in the panel and go to the Schedules tab. Each task does one thing at a time you choose.
There is no cron syntax. You pick either a time of day on chosen weekdays, or an interval.
What a task can do
When you create a task, What it does offers five actions:
- Restart the server
- Start the server
- Stop the server
- Take a backup
- Run a console command
For a console command, enter the command in the Console command box, for example say Server restarting in 5 minutes. It runs on the server console and the leading slash is optional. See console for what commands you can send.
Create a task
- Open Schedules and choose Create a scheduled task (or Add another task if you already have some).
- Give it a Name, such as "Nightly restart".
- Choose what it does.
- Choose When: At a time of day or Every so often.
- For a time of day, set the Time of day and pick the weekdays. For an interval, enter the number of minutes between runs.
- Check the First run line, which shows when the task will first fire. Then choose Create task.
You can Edit a task later, or Pause it so it will not run without deleting it. Resume turns it back on. Delete stops it immediately.
How timing works
Times are entered on your own clock and shown back the same way. They are stored in UTC, so a daily task keeps the same UTC instant across daylight-saving changes. The form says so next to the field: it shows your local time and the UTC time it is stored as. If your clocks change in spring or autumn, a nightly task will shift by an hour on your wall clock but stay put in UTC.
The shortest interval is 30 minutes. A restart can take a modded server minutes to come back, and a backup uses storage, so anything finer would cause trouble more often than help.
Limits
- Up to 10 tasks per server. When you reach it, the button reads that the limit has been reached.
- Interval of at least 30 minutes.
- A run missed during downtime is not made up later; the task moves on to its next run.
Check that it worked
Every task shows its next run, its last run and the result: Last run OK, Last run failed or Last run skipped. A skipped run means the server was not in a state that could be acted on, for example while it was still being set up or stopped by billing, and the task records that rather than failing silently. For a backup task, a successful run means the backup was started; see backups for what is kept and how to restore one.
Who can use it
Owners, admins and members can create and change tasks. Viewers cannot; the panel tells them their role is view-only (see teams and workspaces).
Good patterns
- A nightly restart at a quiet hour, preceded by a console command task that warns players a few minutes before.
- A weekly backup task.
- A timed
sayannouncement on the hour.
If your server sleeps when empty, see auto-sleep before scheduling starts and stops, so the two do not work against each other.
Troubleshooting
The task shows "Last run skipped". The server could not be acted on at that moment. Check the server is running and your plan is active, then wait for the next run.
My nightly restart fires at the wrong hour after the clocks change. Times are stored in UTC. Edit the task to set the time you want on your local clock.
I cannot add another task. You have reached 10 tasks on this server. Delete one you no longer need.
Frequently asked questions
Can I use cron expressions?
No. You choose a time of day on selected weekdays, or a fixed interval in minutes. There is no cron syntax to get wrong.
What is the shortest interval I can set?
30 minutes.
How many scheduled tasks can one server have?
Up to 10.
Can I schedule a backup?
Yes. Choose Take a backup as the task's action. See the backups guide for how restores work.
Does a scheduled task run if the server is stopped?
A Start task is meant for that. If a task cannot act, for example because the server is not in a state that can be acted on, the run shows as skipped or failed so you can see it.