public function isDue()
    {
        $expression = $this->getExpression();
        $cron = CronExpression::factory($expression);
        return $cron->isDue();
    }
public function isDue()
    {
        $expression = $this->getExpression();
        $cron = CronExpression::factory($expression);
        return $cron->isDue();
    }
public function isDue ( ) { $ expression = $ this -> getExpression ( ) ; $ cron = CronExpression :: factory ( $ expression ) ; return $ cron -> isDue ( ) ; }
Check cron expression

@return bool true if cron should be executed
Check cron expression