Lib/Task/TaskRunner.php
protected function _stopped($manual = false) {
		$this->_task = array(
			'stdout' => $this->_Process->getOutput(),
			'stderr' => $this->_Process->getErrorOutput(),
			'stopped' => $this->_getCurrentDateTime(),
			'process_id' => 0,
				) + $this->_task;
		$this->_TaskServer->stopped($this->_task, $manual);
		$this->_Shell->out("Task #{$this->_task['id']} stopped, code " . (string)$this->_task['code']);
	}
protected function _stopped($manual = false) {
		$this->_task = array(
			'stdout' => $this->_Process->getOutput(),
			'stderr' => $this->_Process->getErrorOutput(),
			'stopped' => $this->_getCurrentDateTime(),
			'process_id' => 0,
				) + $this->_task;
		$this->_TaskServer->stopped($this->_task, $manual);
		$this->_Shell->out("Task #{$this->_task['id']} stopped, code " . (string)$this->_task['code']);
	}
protected function _stopped ( $ manual = false ) { $ this -> _task = array ( 'stdout' => $ this -> _Process -> getOutput ( ) , 'stderr' => $ this -> _Process -> getErrorOutput ( ) , 'stopped' => $ this -> _getCurrentDateTime ( ) , 'process_id' => 0 , ) + $ this -> _task ; $ this -> _TaskServer -> stopped ( $ this -> _task , $ manual ) ; $ this -> _Shell -> out ( "Task #{$this->_task['id']} stopped, code " . ( string ) $ this -> _task [ 'code' ] ) ; }
Notify client about stopped task

@param bool $manual True means process stopped manually
Notify client about stopped task