Skip to main content

Overview

Schedules enable automatic execution of job templates and workflow templates at specified times using recurrence rules (rrules).

Endpoints

List Schedules

Create Schedule

string
required
Schedule name
string
Schedule description
integer
required
Job template or workflow template ID
string
required
iCal recurrence rule (RFC 5545)
boolean
default:"true"
Whether schedule is active
object
Additional variables for job launch
integer
Override inventory
string
Host limit
string
SCM branch override
string
Job type override: run or check
string
Ansible tags
string
Skip tags
integer
Verbosity level (0-5)
boolean
Enable diff mode
integer
Execution environment override
integer
Number of forks
integer
Job slice count
integer
Timeout override

Retrieve Schedule

integer
Schedule ID
string
Schedule name
string
Recurrence rule
boolean
Whether schedule is enabled
string
Start datetime from rrule
string
End datetime from rrule
string
Next scheduled execution
string
Timezone for schedule
string
Schedule end date
integer
Template ID
Links to related resources:
  • unified_job_template - Template details
  • jobs - Jobs created by this schedule
  • credentials - Credential overrides
  • labels - Associated labels
  • instance_groups - Instance group overrides

Update Schedule

Delete Schedule

Recurrence Rules (rrule)

Schedules use iCalendar recurrence rules (RFC 5545).

Daily Schedule

Runs every day at 2:00 AM UTC.

Weekly Schedule

Runs every Monday, Wednesday, and Friday at 10:00 AM UTC.

Monthly Schedule

Runs on the 1st of each month at midnight UTC.

With End Date

Runs daily until December 31, 2024.

Limited Occurrences

Runs every 6 hours for 10 occurrences.

Preview Schedule

Preview when a schedule will run:
string
required
Recurrence rule to preview
Returns array of next execution times.

Available Timezones

Returns list of valid timezone names (e.g., America/New_York, Europe/London).

Jobs from Schedule

List jobs created by a schedule:

Credentials

Override credentials for scheduled runs:

Labels

Instance Groups

Filtering

Ordering

Complete Example