public function isDue()
    {
        $cron = App::make('Cron\CronExpression', [$this->scheduler->getCronSchedule()]);

        // if a week is defined, so some special weekly stuff
        if ($this->scheduler->getScheduleWeek() !== Scheduler::NONE) {
            return $this->thisWeek() && $cron->isDue();
        }

        //otherwise us only standard cron scheduling
        return $cron->isDue();
    }
public function isDue()
    {
        $cron = App::make('Cron\CronExpression', [$this->scheduler->getCronSchedule()]);

        // if a week is defined, so some special weekly stuff
        if ($this->scheduler->getScheduleWeek() !== Scheduler::NONE) {
            return $this->thisWeek() && $cron->isDue();
        }

        //otherwise us only standard cron scheduling
        return $cron->isDue();
    }
public function isDue ( ) { $ cron = App :: make ( 'Cron\CronExpression' , [ $ this -> scheduler -> getCronSchedule ( ) ] ) ; // if a week is defined, so some special weekly stuff if ( $ this -> scheduler -> getScheduleWeek ( ) !== Scheduler :: NONE ) { return $ this -> thisWeek ( ) && $ cron -> isDue ( ) ; } //otherwise us only standard cron scheduling return $ cron -> isDue ( ) ; }
Determine if the current schedule is due to be run

@return bool
Determine if the current schedule is due to be run