/** * Returns the next cron job who is due to execute * * @return null|Enlight_Components_Cron_Job */ public function getNextJob() { $retVal = $this->_adapter->getNextJob(); if (empty($retVal)) { return null; } return $retVal; }
/** * Returns the next cron job who is due to execute * * @return null|Enlight_Components_Cron_Job */ public function getNextJob() { return $this->adapter->getNextJob(); }
/** * Returns the next cron job who is due to execute * * @param bool $force * @return null|Enlight_Components_Cron_Job */ public function getNextJob($force = false) { return $this->adapter->getNextJob($force); }