Ejemplo n.º 1
0
 public function __construct($owner = null)
 {
     $this->execute = true;
     parent::__construct($owner);
     try {
         // Initialize command utility and load the cron table:
         $this->cmdU = new CommandUtil();
         $this->crontab = $this->cmdU->loadCrontab();
         $this->j = CrontabUtil::crontabToArray($this->crontab);
     } catch (Exception $e) {
         $this->execute = false;
     }
 }