pub struct ScheduleCreateArgs {
pub name: Option<String>,
pub cron: Option<String>,
pub every: Option<u64>,
pub daily: Option<String>,
pub prompt: Option<String>,
pub model: Option<String>,
pub workspace: Option<String>,
pub timezone: Option<String>,
pub disabled: bool,
pub json: Option<String>,
}Expand description
Flag-based inputs for bamboo schedules create (the common case). The
clap layer guarantees exactly one trigger source (cron / every /
daily / json) and that name + prompt accompany the flag form.
Fields§
§name: Option<String>Schedule name (required unless json).
cron: Option<String>Cron trigger expression (seconds-first, as the trigger engine parses it).
every: Option<u64>Interval trigger: fire every N seconds.
daily: Option<String>Daily trigger at HH:MM[:SS].
prompt: Option<String>Task prompt: the fired session’s user message, auto-executed.
model: Option<String>Model override provider:model for the fired session.
workspace: Option<String>Workspace directory for the fired session’s file tools.
timezone: Option<String>IANA timezone for wall-clock triggers (daily/cron).
disabled: boolCreate the schedule disabled (it will not fire until enabled).
json: Option<String>Raw CreateScheduleRequest JSON: a file path or - for stdin. Full
fidelity escape hatch — posted verbatim.
Trait Implementations§
Source§impl Clone for ScheduleCreateArgs
impl Clone for ScheduleCreateArgs
Source§fn clone(&self) -> ScheduleCreateArgs
fn clone(&self) -> ScheduleCreateArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more