Scheduled Tasks
Run Minecraft commands and power actions safely at scheduled times.
Last updated on
Scheduled Tasks use five-field cron expressions to schedule Minecraft commands or power actions. Raw shell commands cannot be executed.
Common plan examples
| Plan | Cron | Description |
|---|---|---|
| Every day at 04:00 | 0 4 * * * | Daily maintenance |
| Every 30 minutes | */30 * * * * | Periodic announcement |
| Every Sunday at 05:00 | 0 5 * * 0 | Weekly task |
Safe reboot plan
Schedule announcements at intervals instead of placing multiple tasks at the same time. Use the restart power action for the final task.
03:55 say Server will restart in 5 minutes.
03:59 say Server will restart in 1 minute.
04:00 restart power actionTime zone
Use the time zone shown in the panel when creating a schedule. Do not rely on the browser clock because of daylight-saving changes or administrators in different locations.
Every execution result and error is retained in task history. For failed tasks, first check whether the server was online at the scheduled time.