create schedule
Path parameters
Request body
The unique Windmill path for this schedule. Must be of the form u/<user>/<path> or f/<folder>/<path>.
Cron expression with 6 fields (seconds, minutes, hours, day of month, month, day of week). Example '0 0 12 * * *' for daily at noon
IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')
Path to the script or flow to execute when triggered
True if script_path points to a flow, false if it points to a script
The arguments to pass to the script or flow
Whether the schedule is currently active and will trigger jobs
Path to a script or flow to run when the scheduled job fails
Number of consecutive failures before the on_failure handler is triggered (default 1)
If true, trigger on_failure handler only on exactly N failures, not on every failure after N
The arguments to pass to the script or flow
Path to a script or flow to run when the schedule recovers after failures
Number of consecutive successes before the on_recovery handler is triggered (default 1)
The arguments to pass to the script or flow
Path to a script or flow to run after each successful execution
The arguments to pass to the script or flow
If true, the workspace-level error handler will not be triggered for this schedule's failures
If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)
Short summary describing the purpose of this schedule
Detailed description of what this schedule does
Worker tag to route jobs to specific worker groups
ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time
Cron parser version. Use 'v2' for extended syntax with additional features
Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.
When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
Response
schedule created