Ejemplo n.º 1
0
 protected function afterEnd()
 {
     parent::afterEnd();
     Mage::helper('M2ePro/Data_Global')->unsetValue('cron_running');
 }
Ejemplo n.º 2
0
 protected function isPossibleToRun()
 {
     $authKey = Mage::helper('M2ePro/Module')->getConfig()->getGroupValue('/cron/service/', 'auth_key');
     return !is_null($authKey) && !is_null($this->requestAuthKey) && !is_null($this->requestConnectionId) && $authKey == $this->requestAuthKey && parent::isPossibleToRun();
 }