Skip to main content

check

Function check 

Source
pub fn check(expression: &str, since: Option<&str>) -> Result<bool>
Expand description

Check if a cron expression matches now, or (with since) has matched at any point between since and now.

Returns true if the cron fired, false otherwise.