public function setNextSchedule($scheduler)
    {
        $scheduler->next_run_due = $this->getNextRunDue($scheduler->schedule, $scheduler->timezone);
        $scheduler->next_check_due = $this->getNextCheckDue($scheduler->schedule, $scheduler->timezone, $scheduler->alert_run_time_greater_than);
        $scheduler->save();
    }
public function setNextSchedule($scheduler)
    {
        $scheduler->next_run_due = $this->getNextRunDue($scheduler->schedule, $scheduler->timezone);
        $scheduler->next_check_due = $this->getNextCheckDue($scheduler->schedule, $scheduler->timezone, $scheduler->alert_run_time_greater_than);
        $scheduler->save();
    }
public function setNextSchedule ( $ scheduler ) { $ scheduler -> next_run_due = $ this -> getNextRunDue ( $ scheduler -> schedule , $ scheduler -> timezone ) ; $ scheduler -> next_check_due = $ this -> getNextCheckDue ( $ scheduler -> schedule , $ scheduler -> timezone , $ scheduler -> alert_run_time_greater_than ) ; $ scheduler -> save ( ) ; }
Set the next checks for the scheduler.

@param  \Eyewitness\Eye\Repo\Scheduler  $scheduler
@return void
Set the next checks for the scheduler .