public function cronLockAction()
    {
        // Switch lock
        $this->util->getCronJobLock()->reverse();

        // Redirect
        $request = $this->getRequest();
        $this->_reroute($this->menu->getCurrentParent()->toRouteUrl());
    }
public function cronLockAction()
    {
        // Switch lock
        $this->util->getCronJobLock()->reverse();

        // Redirect
        $request = $this->getRequest();
        $this->_reroute($this->menu->getCurrentParent()->toRouteUrl());
    }
public function cronLockAction ( ) { // Switch lock $ this -> util -> getCronJobLock ( ) -> reverse ( ) ; // Redirect $ request = $ this -> getRequest ( ) ; $ this -> _reroute ( $ this -> menu -> getCurrentParent ( ) -> toRouteUrl ( ) ) ; }
Action that switches the cron job lock on or off.
Action that switches the cron job lock on or off .