Example #1
0
 public function execute()
 {
     $this->closeConnection();
     $authKey = $this->getRequest()->getParam('auth_key', false);
     $authKey && $this->serviceCronRunner->setRequestAuthKey($authKey);
     $connectionId = $this->getRequest()->getParam('connection_id', false);
     $connectionId && $this->serviceCronRunner->setRequestConnectionId($connectionId);
     $this->serviceCronRunner->process();
     exit;
 }
Example #2
0
 public function execute()
 {
     $this->serviceCronRunner->resetTasksStartFrom();
 }