protected function isPossibleToRun() { return is_null($this->getHelper('Data\\GlobalData')->getValue('cron_running')) && parent::isPossibleToRun(); }
protected function isPossibleToRun() { $authKey = $this->getHelper('Module')->getConfig()->getGroupValue('/cron/service/', 'auth_key'); return !is_null($authKey) && !is_null($this->requestAuthKey) && !is_null($this->requestConnectionId) && $authKey == $this->requestAuthKey && parent::isPossibleToRun(); }