pub struct EditSchedule {Show 21 fields
pub schedule: String,
pub timezone: String,
pub args: HashMap<String, Value>,
pub on_failure: Option<String>,
pub on_failure_times: Option<f64>,
pub on_failure_exact: Option<bool>,
pub on_failure_extra_args: Option<HashMap<String, Value>>,
pub on_recovery: Option<String>,
pub on_recovery_times: Option<f64>,
pub on_recovery_extra_args: Option<HashMap<String, Value>>,
pub on_success: Option<String>,
pub on_success_extra_args: Option<HashMap<String, Value>>,
pub ws_error_handler_muted: Option<bool>,
pub retry: Option<Box<Retry>>,
pub no_flow_overlap: Option<bool>,
pub summary: Option<String>,
pub description: Option<String>,
pub tag: Option<String>,
pub paused_until: Option<String>,
pub cron_version: Option<String>,
pub dynamic_skip: Option<String>,
}Fields§
§schedule: StringCron expression with 6 fields (seconds, minutes, hours, day of month, month, day of week). Example ‘0 0 12 * * *’ for daily at noon
timezone: StringIANA timezone for the schedule (e.g., ‘UTC’, ‘Europe/Paris’, ‘America/New_York’)
args: HashMap<String, Value>The arguments to pass to the script or flow
on_failure: Option<String>Path to a script or flow to run when the scheduled job fails
on_failure_times: Option<f64>Number of consecutive failures before the on_failure handler is triggered (default 1)
on_failure_exact: Option<bool>If true, trigger on_failure handler only on exactly N failures, not on every failure after N
on_failure_extra_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
on_recovery: Option<String>Path to a script or flow to run when the schedule recovers after failures
on_recovery_times: Option<f64>Number of consecutive successes before the on_recovery handler is triggered (default 1)
on_recovery_extra_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
on_success: Option<String>Path to a script or flow to run after each successful execution
on_success_extra_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
ws_error_handler_muted: Option<bool>If true, the workspace-level error handler will not be triggered for this schedule’s failures
retry: Option<Box<Retry>>§no_flow_overlap: Option<bool>If true, skip this schedule’s execution if the previous run is still in progress (prevents concurrent runs)
summary: Option<String>Short summary describing the purpose of this schedule
description: Option<String>Detailed description of what this schedule does
tag: Option<String>Worker tag to route jobs to specific worker groups
paused_until: Option<String>ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time
cron_version: Option<String>Cron parser version. Use ‘v2’ for extended syntax with additional features
dynamic_skip: Option<String>Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
Implementations§
Trait Implementations§
Source§impl Clone for EditSchedule
impl Clone for EditSchedule
Source§fn clone(&self) -> EditSchedule
fn clone(&self) -> EditSchedule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more