original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: The general "do the jobs" action
docstring_tokens: The general do the jobs action