flux schedule
Manage workflow schedules.
Manage workflow schedules.
Sub-commands
flux schedule create— Create a new schedule for a workflow.flux schedule delete— Delete a schedule.flux schedule history— Show execution history for a schedule.flux schedule list— List all schedules.flux schedule pause— Pause a schedule.flux schedule resume— Resume a paused schedule.flux schedule show— Show details of a specific schedule.
flux schedule create
Create a new schedule for a workflow.
Arguments
workflow_name(text, required)schedule_name(text, required)
Options
--cron,-c— Cron expression (e.g., ‘0 9 * * MON-FRI’ for 9 AM weekdays)--interval-hours— Interval in hours--interval-minutes— Interval in minutes--timezone,-tz— Timezone for the schedule (default: UTC) (default:UTC)--description,-d— Description of the schedule--input,-i— Input data for scheduled workflow executions (JSON format)--run-as— Service account to run the schedule as (required when auth is enabled)--format,-f— Output format (default:simple)--server-url,-cp-url— Server URL to connect to.
flux schedule delete
Delete a schedule.
Arguments
schedule_id(text, required)
Options
--format,-f— Output format (default:simple)--server-url,-cp-url— Server URL to connect to.--yes— Confirm the action without prompting.
flux schedule history
Show execution history for a schedule.
Arguments
schedule_id(text, required)
Options
--limit,-l— Number of history entries to show (default: 10) (default:10)--format,-f— Output format (default:simple)--server-url,-cp-url— Server URL to connect to.
flux schedule list
List all schedules.
Options
--workflow,-w— Filter by workflow name--all,-a— Show all schedules including paused/disabled ones--format,-f— Output format (default:simple)--server-url,-cp-url— Server URL to connect to.
flux schedule pause
Pause a schedule.
Arguments
schedule_id(text, required)
Options
--format,-f— Output format (default:simple)--server-url,-cp-url— Server URL to connect to.
flux schedule resume
Resume a paused schedule.
Arguments
schedule_id(text, required)
Options
--format,-f— Output format (default:simple)--server-url,-cp-url— Server URL to connect to.
flux schedule show
Show details of a specific schedule.
Arguments
schedule_id(text, required)
Options
--format,-f— Output format (default:simple)--server-url,-cp-url— Server URL to connect to.
Generated from flux/cli.py. Last verified against Flux 0.56.0.