Skip to main content

add_schedule

Function add_schedule 

Source
pub fn add_schedule(
    conn: &Connection,
    id: &str,
    kind: &str,
    target: &str,
    rule: &str,
    next_due_at: Option<&str>,
    max_lateness_secs: Option<i64>,
) -> Result<Schedule, String>