List Schedules
Get all schedules for a server.string
required
The server identifier
Response
integer
Schedule identifier
string
Schedule name
object
Cron expression components (each can be
* for “every” or specific values)boolean
Whether the schedule is enabled
boolean
Whether the schedule is currently executing
boolean
Only run if the server is online
string
ISO 8601 timestamp of last execution
string
ISO 8601 timestamp of next scheduled execution
Create Schedule
Create a new schedule.string
required
Schedule name
string
required
Cron minute field (0-59 or
*)string
required
Cron hour field (0-23 or
*)string
required
Cron day of month field (1-31 or
*)string
required
Cron month field (1-12 or
*)string
required
Cron day of week field (0-6 or
*, where 0 = Sunday)boolean
Enable the schedule immediately (default: true)
boolean
Only execute if server is online (default: false)
Cron Expression Examples
- Every day at 3 AM:
0 3 * * * - Every hour:
0 * * * * - Every 30 minutes:
*/30 * * * * - Every Monday at noon:
0 12 * * 1 - First day of month at midnight:
0 0 1 * *
Response
Returns the created schedule object (same format as list response).Get Schedule
Get details of a specific schedule.integer
required
The schedule ID
Update Schedule
Update an existing schedule.Execute Schedule Now
Manually trigger a schedule immediately.Response
Returns202 Accepted when execution begins.
Delete Schedule
Delete a schedule and all its tasks.Response
Returns204 No Content on success.
Schedule Tasks
Tasks are actions that execute as part of a schedule. They run in sequence based onsequence_id.
Create Task
Add a task to a schedule.string
required
Task action type:
command- Send console commandpower- Change power statebackup- Create backup
string
required
Action-specific payload:
- For
command: The command to execute - For
power:start,stop,restart, orkill - For
backup: Empty string or ignored
integer
required
Seconds to wait after previous task (0-900)
boolean
Continue to next task if this one fails (default: false)
Update Task
Update an existing task.integer
required
The task ID
Delete Task
Remove a task from a schedule.Response
Returns204 No Content on success.
