Skip to main content

expect_due

Function expect_due 

Source
pub async fn expect_due(
    scheduler: &CronScheduler,
    all: &[CronJob],
    check: &Check,
    state: &mut ExpectState,
    now: i64,
) -> usize
Expand description

Looks at the watched job of every expect job that is due and starts a run for each gap. Returns how many runs it started or queued. check answers the App query’s jobs.