Task Scheduler — Automatic Tasks
Scheduler allows you to automatically run tasks on your game server — restarts, backups, commands, and other recurring actions.
Overview
| Feature | Details |
|---|---|
| Task types | Command, Power, Backup |
| Scheduling | Cron expression |
| Conditions | Only when running, chaining |
| Task limit | Per package |
Task Types
| Type | Description |
|---|---|
| Command | Execute console command |
| Power | Start, Stop, Restart, Kill |
| Backup | Create server backup |
Creating a Scheduled Task
Step 1 — Open Scheduler
- Log in at coresynth.io
- Go to Dashboard > Services
- Select your game server
- In sidebar, click Scheduler or Schedules
Step 2 — New Task
- Click New Task or Create Schedule
- Fill in settings:
- Name — task identifier (e.g., “Daily restart”)
- Task type — Command, Power, Backup
- Command/Action — specific to type
- Set timing
Timing Setup
Cron Expression
Scheduler uses cron expression for precise timing:
| Field | Value | Description |
|---|---|---|
| Minute | 0-59 | Minute in hour |
| Hour | 0-23 | Hour in day |
| Day of month | 1-31 | Day in month |
| Month | 1-12 | Month in year |
| Day of week | 0-6 | Sunday=0 to Saturday=6 |
Preset Options
| Preset | Cron | Description |
|---|---|---|
| Every minute | * * * * * | Every minute |
| Every 5 minutes | */5 * * * * | Every 5 minutes |
| Every hour | 0 * * * * | Every hour |
| Every day | 0 0 * * * | At midnight |
| Every week | 0 0 * * 0 | Sunday midnight |
| Every month | 0 0 1 * * | First day of month |
Examples
| Task | Cron | Description |
|---|---|---|
| Daily restart at 4:00 | 0 4 * * * | Every day at 4:00 AM |
| Backup every 2 hours | 0 */2 * * * | At 0:00, 2:00, 4:00… |
| Sunday restart | 0 4 * * 0 | Sunday at 4:00 |
| Daily save | 30 */3 * * * | Every 3 hours at :30 |
Task Conditions
Only When Running
When enabled:
- Task runs only when server is running
- If server is offline, task is skipped
- Good for commands like
save-all,say
Tip: For restarts and backups, keep this option disabled.
Task Chaining
You can chain tasks — run multiple tasks in sequence:
- Create first task
- In task settings, add “Continue to…”
- Select following task
- Tasks run in order
Common Scenarios
Daily Restart
Ensures server restarts daily to free memory:
| Field | Value |
|---|---|
| Name | Daily restart |
| Type | Power |
| Action | Restart |
| Cron | 0 4 * * * |
| Only when running | No |
Automatic Backup
Creates backup every 6 hours:
| Field | Value |
|---|---|
| Name | Auto backup |
| Type | Backup |
| Action | Create backup |
| Cron | 0 */6 * * * |
| Only when running | No |
Restart Announcement
Sends message to players 5 minutes before restart:
Task 1 — Announcement:
| Field | Value |
|---|---|
| Name | Restart warning |
| Type | Command |
| Command | say Server restarting in 5 minutes! |
| Cron | 55 3 * * * |
| Only when running | Yes |
Task 2 — Restart:
| Field | Value |
|---|---|
| Name | Restart |
| Type | Power |
| Action | Restart |
| Cron | 0 4 * * * |
| Only when running | No |
Daily World Save
Saves world every 30 minutes:
| Field | Value |
|---|---|
| Name | Auto save |
| Type | Command |
| Command | save-all |
| Cron | */30 * * * * |
| Only when running | Yes |
Task Management
Viewing Tasks
In task list you see:
| Column | Description |
|---|---|
| Name | Task identifier |
| Type | Command / Power / Backup |
| Timing | Cron expression |
| Next run | Date and time |
| Status | Active / Inactive |
| Action | Edit / Delete |
Editing Task
- Find task in list
- Click Edit
- Change settings
- Click Save
Deleting Task
- Find task in list
- Click Delete
- Confirm deletion
Manual Run
To run task immediately:
- Find task in list
- Click Run now
- Task executes immediately
Note: Manual run ignores “Only when running” condition.
Troubleshooting
Task Didn’t Run
Causes:
- Server was offline (with “Only when running”)
- Wrong cron expression
- Task is inactive
Solution:
- Check server logs
- Verify cron expression
- Check that task is active
Wrong Timing
Cause: Incorrect cron expression.
Solution:
- Use preset options
- Test cron expression online (crontab.guru)
- Check server timezone
Backup Failed
Causes:
- Insufficient disk space
- Server running longer than timeout
Solution:
- Check disk space
- Reduce number of backups
- Delete old backups
Server Won’t Start After Restart
Cause: Startup error.
Solution:
- Check console logs
- Start server manually
- Verify configuration
Security Recommendations
- Restart during off-hours — set restart at 3–5 AM
- Backup regularly — but not too often (every 6–12 hours)
- Test tasks — try manually before automating
- Monitor logs — regularly check if tasks are running
Time Zones
Server uses UTC timezone.
When scheduling:
| Central European Time | UTC | Example |
|---|---|---|
| 4:00 AM (winter) | 3:00 | 0 3 * * * |
| 4:00 AM (summer) | 2:00 | 0 2 * * * |
Tip: For simplicity, schedule when server is typically empty.
Next Steps
- Console — Console control
- Backups — Troubleshooting
- Games Overview — Supported games
Need help? Open a support ticket or ask Alex.