Plan schedules
The ayx one plans schedules command returns the schedules configured for a plan. It is a read-only command — schedule creation and modification are handled through the Alteryx One platform.
Quick reference
Section titled “Quick reference”| Command | What it does |
|---|---|
ayx one plans schedules |
List schedules for a plan |
List schedules for a plan
Section titled “List schedules for a plan”ayx one plans schedules <plan-id>ayx one plans schedules <plan-id> --profile <name>Returns all schedules attached to the plan. Each schedule entry includes the recurrence definition, enabled state, and next run time.
JSON output
Section titled “JSON output”ayx --output json one plans schedules <plan-id>The response follows the standard envelope:
{ "ok": true, "message": "...", "timestamp_utc": "...", "data": [...]}data contains the array of schedule records.
Automation patterns
Section titled “Automation patterns”Check whether a plan has any active schedules
Section titled “Check whether a plan has any active schedules”ayx --output json one plans schedules <plan-id> \ | jq '[.data[] | select(.enabled == true)] | length'List all plans with their next run times
Section titled “List all plans with their next run times”ayx --output json one plans list --all | jq -r '.data[].id' \ | while IFS= read -r id; do ayx --output json one plans schedules "$id" \ | jq -r --arg id "$id" '.data[] | [$id, .nextRun] | @tsv' done