Example #1
0
 /**
  * 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;
 }
Example #2
0
 /**
  * Returns the next cron job who is due to execute
  *
  * @return null|Enlight_Components_Cron_Job
  */
 public function getNextJob()
 {
     return $this->adapter->getNextJob();
 }
Example #3
0
 /**
  * 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);
 }