src/Shell/QueueShell.php
public function rerun($type, $reference = null) {
		$this->out('Rerunning...');

		$count = $this->QueuedJobs->rerun($type, $reference);

		$this->success($count . ' jobs reset for re-run.');
	}
public function rerun($type, $reference = null) {
		$this->out('Rerunning...');

		$count = $this->QueuedJobs->rerun($type, $reference);

		$this->success($count . ' jobs reset for re-run.');
	}
public function rerun ( $ type , $ reference = null ) { $ this -> out ( 'Rerunning...' ) ; $ count = $ this -> QueuedJobs -> rerun ( $ type , $ reference ) ; $ this -> success ( $ count . ' jobs reset for re-run.' ) ; }
Manually reset already successfully run jobs for re-run.
Careful, this should not be done with non-idempotent jobs.

This is mainly useful for debugging and local development,
if you have to run sth again.

@param string $type
@param string|null $reference
@return void
Manually reset already successfully run jobs for re - run . Careful this should not be done with non - idempotent jobs .