Skip to content

job-scheduler

Manage item job scheduling (run, cancel, schedules)

Authentication scope: fabric

List job instances for an item

Terminal window
fabio job-scheduler list-instances --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID

Read-only · Returns list

Show details of a job instance

Terminal window
fabio job-scheduler get-instance --workspace <value> --id <value> --job-instance-id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID
--job-instance-id string Yes Job instance ID

Read-only · Returns object

Run an on-demand job for an item

Terminal window
fabio job-scheduler run-on-demand --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID
--job-type string No Job type (e.g., DefaultJob, RunNotebook, Pipeline, TableMaintenance, SparkJob) Default: DefaultJob.
--execution-data string No Execution data as JSON (optional, depends on job type)
--wait bool No Wait for the job to complete (polls until finished)
--timeout u64 No Maximum time to wait in seconds (default: 600). Only used with –wait Default: 600.
--cancel-on-timeout bool No Cancel the job if –wait times out (default: leave running)

Mutates state · Long-running operation · Returns object

Cancel a running job instance

Terminal window
fabio job-scheduler cancel-instance --workspace <value> --id <value> --job-instance-id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID
--job-instance-id string Yes Job instance ID

Mutates state · Returns object

List schedules for an item job type

Terminal window
fabio job-scheduler list-schedules --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID
--job-type string No Job type (e.g., DefaultJob, RunNotebook, Pipeline) Default: DefaultJob.

Read-only · Returns list

Show details of a specific schedule

Terminal window
fabio job-scheduler get-schedule --workspace <value> --id <value> --schedule-id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID
--job-type string No Job type
--schedule-id string Yes Schedule ID

Read-only · Returns object

Create a schedule for an item job type

Terminal window
fabio job-scheduler create-schedule --workspace <value> --id <value> --config <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID
--job-type string No Job type
--enabled bool No Whether the schedule is enabled
--config string Yes Schedule configuration object as JSON. Required fields: type (Cron|Daily|Weekly|Monthly), startDateTime, endDateTime, localTimeZoneId; plus per-type: Cron→interval, Daily→times[], Weekly→times[]+weekdays[]. Example: ‘{“type”:“Cron”,“startDateTime”:“2026-01-01T00:00:00”,“endDateTime”:“2026-12-31T23:59:00”,“localTimeZoneId”:“UTC”,“interval”:10}’

Mutates state · Returns object

Update an existing schedule

Terminal window
fabio job-scheduler update-schedule --workspace <value> --id <value> --schedule-id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID
--job-type string No Job type
--schedule-id string Yes Schedule ID
--enabled enum No Whether the schedule is enabled One of: true, false.
--config string No Updated schedule configuration as JSON

Mutates state · Returns object

Delete a schedule

Terminal window
fabio job-scheduler delete-schedule --workspace <value> --id <value> --schedule-id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Item ID
--job-type string No Job type
--schedule-id string Yes Schedule ID

Mutates state · Destructive · Returns void