src/Controller/Admin/QueueController.php
public function reset() {
		$this->request->allowMethod('post');
		$this->QueuedJobs->reset();

		$message = __d('queue', 'OK');
		$this->Flash->success($message);

		return $this->redirect(['action' => 'index']);
	}
public function reset() {
		$this->request->allowMethod('post');
		$this->QueuedJobs->reset();

		$message = __d('queue', 'OK');
		$this->Flash->success($message);

		return $this->redirect(['action' => 'index']);
	}
public function reset ( ) { $ this -> request -> allowMethod ( 'post' ) ; $ this -> QueuedJobs -> reset ( ) ; $ message = __d ( 'queue' , 'OK' ) ; $ this -> Flash -> success ( $ message ) ; return $ this -> redirect ( [ 'action' => 'index' ] ) ; }
Mark all failed jobs as ready for re-run.

@return \Cake\Http\Response
@throws \Cake\Http\Exception\MethodNotAllowedException when not posted
Mark all failed jobs as ready for re - run .