Skip to content

Scheduling

Schedules define when job groups run automatically in Alteryx One. You can list, inspect, enable, and disable them from the CLI. Mutating commands are dry-run by default — add --apply to commit.

Enterprise tier required. Scheduling endpoints return 404 on some workspace tiers. Commands are present in all builds but will only succeed on enterprise-tier accounts.

Command What it does
ayx one scheduling list List all schedules
ayx one scheduling count Count schedules
ayx one scheduling detail Inspect a single schedule
ayx one scheduling enable Enable a schedule
ayx one scheduling disable Disable a schedule

To view the schedules attached to a specific plan, use ayx one plans schedules <id>.

Terminal window
# All schedules (paginated — first page)
ayx one scheduling list
# All schedules, all pages
ayx one scheduling list --all
# Scoped to a profile
ayx one scheduling list --profile <profile-id>
# Limit results per page
ayx one scheduling list --limit 50
# Machine-readable
ayx --output json one scheduling list --all
Terminal window
ayx one scheduling count
ayx --output json one scheduling count

Useful for a quick health check — verify the number of active schedules hasn’t changed unexpectedly.

Terminal window
ayx one scheduling detail <id>
ayx --output json one scheduling detail <id>

detail returns the full schedule record including the cron expression, target job group, enabled state, and last/next run times.

Terminal window
# Dry-run — shows the request, changes nothing
ayx one scheduling enable <id>
# Commit
ayx one scheduling enable <id> --apply
Terminal window
# Dry-run
ayx one scheduling disable <id>
# Commit
ayx one scheduling disable <id> --apply
# Non-interactive (CI / scripts)
ayx one scheduling disable <id> --apply --yes

Disabling a schedule stops future runs but does not cancel any run that is already in progress.

Audit all enabled schedules:

Terminal window
ayx --output json one scheduling list --all \
| jq -r '.data[] | select(.enabled == true) | [.id, .name, .nextRunAt] | @tsv'

Disable every schedule in a profile before a maintenance window:

Terminal window
ayx --output json one scheduling list --all --profile <profile-id> \
| jq -r '.data[] | select(.enabled == true) | .id' \
| xargs -I{} ayx one scheduling disable {} --apply --yes

Re-enable them after maintenance:

Terminal window
ayx --output json one scheduling list --all --profile <profile-id> \
| jq -r '.data[] | select(.enabled == false) | .id' \
| xargs -I{} ayx one scheduling enable {} --apply

Count active vs inactive schedules for a status report:

Terminal window
ayx --output json one scheduling list --all | jq '
.data | {
total: length,
enabled: (map(select(.enabled == true)) | length),
disabled: (map(select(.enabled == false)) | length)
}'