public function retry($queue_id, $job_id)
    {
        try {
            Artisan::call('queue:retry', ['id' => [$job_id]]);
        } catch (Exception $e) {
            $this->eye->logger()->error('Retry of failed job unsuccessful', $e, ['job_id' => $job_id, 'queue_id' => $queue_id]);
            return redirect(route('eyewitness.queues.show', $queue_id).'#failed')->withError('Sorry - we could not retry that job. Please check your logs for further information.');
        }

        return redirect(route('eyewitness.queues.show', $queue_id).'#failed')->withSuccess('The job has been pushed back onto the queue to be tried again.');
    }
public function retry($queue_id, $job_id)
    {
        try {
            Artisan::call('queue:retry', ['id' => [$job_id]]);
        } catch (Exception $e) {
            $this->eye->logger()->error('Retry of failed job unsuccessful', $e, ['job_id' => $job_id, 'queue_id' => $queue_id]);
            return redirect(route('eyewitness.queues.show', $queue_id).'#failed')->withError('Sorry - we could not retry that job. Please check your logs for further information.');
        }

        return redirect(route('eyewitness.queues.show', $queue_id).'#failed')->withSuccess('The job has been pushed back onto the queue to be tried again.');
    }
public function retry ( $ queue_id , $ job_id ) { try { Artisan :: call ( 'queue:retry' , [ 'id' => [ $ job_id ] ] ) ; } catch ( Exception $ e ) { $ this -> eye -> logger ( ) -> error ( 'Retry of failed job unsuccessful' , $ e , [ 'job_id' => $ job_id , 'queue_id' => $ queue_id ] ) ; return redirect ( route ( 'eyewitness.queues.show' , $ queue_id ) . '#failed' ) -> withError ( 'Sorry - we could not retry that job. Please check your logs for further information.' ) ; } return redirect ( route ( 'eyewitness.queues.show' , $ queue_id ) . '#failed' ) -> withSuccess ( 'The job has been pushed back onto the queue to be tried again.' ) ; }
Retry the given job.

@param  integer  $queue_id
@param  integer  $job_id
@return \Illuminate\Http\Response
Retry the given job .