pub fn execute(&mut self, now: &DateTime<Tz>) {
        // Don't do anything if we're run out of runs
        if !self.schedule.can_run_again() {
            return;
        }
        self.job.as_mut().map(|f| f());
        self.schedule.schedule_next(now);
    }
/// Run a task and re-schedule it. This is usually only called by
/// [Scheduler::run_pending()](crate::Scheduler::run_pending).
Run a task and re-schedule it.
Run a task and re - schedule it .
pub fn execute(&mut self, now: &DateTime<Tz>) {
        // Don't do anything if we're run out of runs
        if !self.schedule.can_run_again() {
            return;
        }
        self.job.as_mut().map(|f| f());
        self.schedule.schedule_next(now);
    }
pub fn execute ( & mut self , now : & DateTime < Tz > ) { // Don't do anything if we're run out of runs if ! self . schedule . can_run_again ( ) { return ; } self . job . as_mut ( ) . map ( | f | f ( ) ) ; self . schedule . schedule_next ( now ) ; }
Run a task and re-schedule it.
Run a task and re - schedule it .
&mut self
now
&DateTime<Tz>