Creating a Schedule
Create a new schedule with cron timing:Create Schedule
Response
Configure Timing
Set the cron expression using the five fields:
- Minute (0-59)
- Hour (0-23)
- Day of Month (1-31)
- Month (1-12)
- Day of Week (0-6, Sunday=0)
Cron Syntax
Understanding cron timing:Common Examples
Special Wildcards
*- Any value (every minute, hour, etc.)*/5- Every 5th value (every 5 minutes)1,15,30- Specific values (1st, 15th, and 30th)10-20- Range of values (10 through 20)*/2with range:10-20/2- Every 2nd value in range
Adding Tasks to Schedules
Schedules execute one or more tasks in sequence:Add Task
Task Types
1. Command Task
Execute a server command:2. Power Task
Control server power state:start, stop, restart, kill
3. Backup Task
Create a server backup:Backup tasks don’t require a payload. The backup is created with an auto-generated name.
Task Timing
Thetime_offset field adds a delay (in seconds) before executing the task:
Task Sequence Example
Time offset is relative to when the schedule starts, not between tasks. Maximum offset is 900 seconds (15 minutes).
Listing Schedules
View all schedules for a server:List Schedules
Response
Updating a Schedule
Modify schedule timing or settings:Update Schedule
Updating the schedule recalculates the
next_run_at timestamp based on the new cron expression.Manual Execution
Trigger a schedule immediately:Trigger Schedule
Response
Only When Online
Theonly_when_online flag controls whether the schedule runs when the server is offline:
true- Schedule only runs if server is runningfalse- Schedule runs regardless of server state (can start stopped servers)
Useful for in-game announcements that shouldn’t run when no one is online, or for automatic starts/restarts that need to run even when offline.
Deleting a Schedule
Remove a schedule and all its tasks:Delete Schedule
Success
Common Schedule Examples
Nightly Restart with Warnings
Nightly Restart with Warnings
Restart server every night at 4 AM with player warnings:Schedule:
0 4 * * * (Daily at 4 AM)Tasks:- Command:
say Server restarting in 5 minutes!(offset: 0s) - Command:
say Server restarting in 1 minute!(offset: 240s) - Command:
save-all(offset: 290s) - Power:
restart(offset: 300s)
Hourly Backup
Hourly Backup
Create backup every hour:Schedule:
0 * * * * (Every hour)Tasks:- Backup: (offset: 0s)
only_when_online: true to only backup when server is active.Weekly Maintenance
Weekly Maintenance
Perform maintenance every Sunday at 3 AM:Schedule:
0 3 * * 0 (Sundays at 3 AM)Tasks:- Command:
save-all(offset: 0s) - Backup: (offset: 10s)
- Power:
stop(offset: 60s) - Power:
start(offset: 300s)
Save Reminders
Save Reminders
Remind admins to save every 30 minutes during peak hours:Schedule:
*/30 18-22 * * * (Every 30 min, 6 PM - 10 PM)Tasks:- Command:
say Remember to save your work!(offset: 0s)
Activity Logging
Schedule operations are logged:Example Logs
Best Practices
Always Add Warnings
Always Add Warnings
When scheduling restarts, always warn players several minutes in advance. Use multiple warning tasks at different offsets.
Test Schedules Manually
Test Schedules Manually
Before activating a schedule, test it using the manual execution feature to ensure tasks work correctly.
Use Descriptive Names
Use Descriptive Names
Name schedules clearly: “Daily 4AM Restart”, “Hourly Backup”, “Weekly Maintenance” - makes management easier.
Coordinate Timings
Coordinate Timings
Avoid scheduling multiple intensive tasks (backups, restarts) at the same time. Stagger them by at least 15 minutes.
Troubleshooting
Schedule Not Running
Schedule Not Running
- Verify schedule is set to active
- Check cron expression is valid
- If
only_when_onlineis true, ensure server is running - Check panel logs for errors
- Verify
next_run_attimestamp is in the future
Tasks Failing
Tasks Failing
- Verify commands are correct for your game
- Check server has required permissions
- Review activity logs for error messages
- Test commands manually via console first
Wrong Execution Time
Wrong Execution Time
Schedules use UTC time by default. Check your panel timezone settings:
- Panel runs in UTC
- Convert your local time to UTC
- Account for daylight saving time
