Skip to main content
Schedules allow you to automate server tasks using cron-like scheduling. Each schedule can have multiple tasks that execute in sequence.

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.
All parameters are the same as create.

Execute Schedule Now

Manually trigger a schedule immediately.

Response

Returns 202 Accepted when execution begins.

Delete Schedule

Delete a schedule and all its tasks.

Response

Returns 204 No Content on success.

Schedule Tasks

Tasks are actions that execute as part of a schedule. They run in sequence based on sequence_id.

Create Task

Add a task to a schedule.
string
required
Task action type:
  • command - Send console command
  • power - Change power state
  • backup - Create backup
string
required
Action-specific payload:
  • For command: The command to execute
  • For power: start, stop, restart, or kill
  • 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
All parameters are the same as create.

Delete Task

Remove a task from a schedule.

Response

Returns 204 No Content on success.

Example: Complete Backup Schedule

Here’s how to create a complete backup schedule with multiple tasks: