Schedules

Create, update, pause, resume, and delete workflow schedules.

Schedule routes manage cron, interval, and one-shot triggers. The integrated schedule_manager runs inside the server process; creating a schedule registers it for in-process polling.

In addition to the routes here, schedules can be created implicitly by registering a workflow that declares @workflow.with_options(schedule=cron(...)). Auto-schedules are named <workflow>_auto and can be disabled globally with [flux.scheduling].auto_schedule_enabled = false.

POST /schedules

Create a schedule.

GET /schedules

List schedules.

GET /schedules/{schedule_id}

Show a schedule. Accepts either the schedule’s UUID or its name.

PUT /schedules/{schedule_id}

Update an existing schedule. The REST API supports this; the CLI does not — there is no flux schedule update. To change a schedule via the CLI you must delete and recreate.

POST /schedules/{schedule_id}/pause

Mark a schedule paused. Accepts ID or name.

POST /schedules/{schedule_id}/resume

Reactivate a paused schedule.

DELETE /schedules/{schedule_id}

Remove a schedule. Accepts ID or name.

GET /schedules/{schedule_id}/history

List executions launched by a schedule.