Create a cron schedule
Creates a new cron schedule for a group of workspaces. Schedules define automated power operations (START, STOP, RESTART) executed at specified schedules according to cron expressions and time zone. START schedules may optionally include an intermediate device Workspace ID for Wake on LAN operations in secure networks. If intermediate_device is provided, it indicates an intermediate device must be used. The system validates no conflicting schedule exists (same type, time, and day after time zone conversion).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the organization
24^[0-9a-f]{24}$The unique identifier of the workspace group
24^[0-9a-f]{24}$Body
Cron expression defining when the schedule should run. Format: minute hour day-of-month month day-of-week. Examples: '0 8 * * 1-5' (8 AM on weekdays), '0 0 * * 0' (midnight on Sunday), '30 14 * * ' (2:30 PM daily). Day-of-week: 0=Sunday, 1=Monday, ..., 6=Saturday. Supports ranges (1-5), lists (1,3,5), and wildcards (). Must be a valid cron expression format with 5 space-separated fields.
"0 8 * * 1-5"
Timezone for the execution of the schedule. Supports IANA identifiers (e.g., 'America/New_York') and Windows identifiers (e.g., 'Pacific Standard Time').
"Eastern Standard Time"
Type of power operation to perform. START: Turns on the group's Workspaces. STOP: Turns off the group's Workspaces. RESTART: Restarts the group's Workspaces.
start, stop, restart "start"
Optional. The unique identifier of the intermediate device Workspace. If provided, indicates an intermediate device must be used for Wake on LAN operations. Only applicable for START schedules. Used for Wake on LAN actions in secure networks. The Workspace must exist and belong to the organization.
24^[0-9a-f]{24}$"507f1f77bcf86cd799439050"
Response
Schedule successfully created. The response contains the created schedule resource.
The unique identifier of the schedule
^[0-9a-f]{24}$"507f1f77bcf86cd799439060"
Cron expression defining when the schedule runs. Format: minute hour day-of-month month day-of-week.
"0 8 * * 1-5"
Timezone for the execution of the schedule. Supports IANA identifiers (e.g., 'America/New_York') and Windows identifiers (e.g., 'Pacific Standard Time').
"Eastern Standard Time"
Power operation type: START (switch on), STOP (switch off), RESTART (restart Workspaces)
start, stop, restart The unique identifier of the intermediate device Workspace, if configured. Used for Wake on LAN actions in secure networks.
^[0-9a-f]{24}$"507f1f77bcf86cd799439050"
User ID who created the schedule
^[0-9a-f]{24}$"507f1f77bcf86cd799439070"