src/Shell/CakeResqueShell.php
public function reset()
    {
        $ResqueStatus = $this->ResqueStatus;

        $this->debug(__d('cake_resque', 'Emptying the worker database'));
        $ResqueStatus->clearWorkers();
        $this->debug(__d('cake_resque', 'Unregistering the scheduler worker'));
        $ResqueStatus->unregisterSchedulerWorker();
        $this->out('<success>' . __d('cake_resque', 'CakeResque state has been reseted') . '</success>');
    }
public function reset()
    {
        $ResqueStatus = $this->ResqueStatus;

        $this->debug(__d('cake_resque', 'Emptying the worker database'));
        $ResqueStatus->clearWorkers();
        $this->debug(__d('cake_resque', 'Unregistering the scheduler worker'));
        $ResqueStatus->unregisterSchedulerWorker();
        $this->out('<success>' . __d('cake_resque', 'CakeResque state has been reseted') . '</success>');
    }
public function reset ( ) { $ ResqueStatus = $ this -> ResqueStatus ; $ this -> debug ( __d ( 'cake_resque' , 'Emptying the worker database' ) ) ; $ ResqueStatus -> clearWorkers ( ) ; $ this -> debug ( __d ( 'cake_resque' , 'Unregistering the scheduler worker' ) ) ; $ ResqueStatus -> unregisterSchedulerWorker ( ) ; $ this -> out ( '<success>' . __d ( 'cake_resque' , 'CakeResque state has been reseted' ) . '</success>' ) ; }
Reset workers statuses.

Note: The workers status is conveniently stored by ResqueStatus.

@since 3.3.7
@return void
@see ResqueStatus\ResqueStatus::clearWorkers()
@see ResqueStatus\ResqueStatus::unregisterSchedulerWorker()
Reset workers statuses .