public function indexAction()
    {
        $this->initHtml();
        if ($this->util->getMaintenanceLock()->isLocked()) {
            $this->addMessage($this->_('Cannot run cron job in maintenance mode.'));
        } elseif ($this->util->getCronJobLock()->isLocked()) {
            $this->addMessage($this->_('Cron jobs turned off.'));
        } else {
            $this->commJob();
        }
        $this->util->getMonitor()->startCronMailMonitor();
    }
public function indexAction()
    {
        $this->initHtml();
        if ($this->util->getMaintenanceLock()->isLocked()) {
            $this->addMessage($this->_('Cannot run cron job in maintenance mode.'));
        } elseif ($this->util->getCronJobLock()->isLocked()) {
            $this->addMessage($this->_('Cron jobs turned off.'));
        } else {
            $this->commJob();
        }
        $this->util->getMonitor()->startCronMailMonitor();
    }
public function indexAction ( ) { $ this -> initHtml ( ) ; if ( $ this -> util -> getMaintenanceLock ( ) -> isLocked ( ) ) { $ this -> addMessage ( $ this -> _ ( 'Cannot run cron job in maintenance mode.' ) ) ; } elseif ( $ this -> util -> getCronJobLock ( ) -> isLocked ( ) ) { $ this -> addMessage ( $ this -> _ ( 'Cron jobs turned off.' ) ) ; } else { $ this -> commJob ( ) ; } $ this -> util -> getMonitor ( ) -> startCronMailMonitor ( ) ; }
The general "do the jobs" action
The general do the jobs action