# Jobs.Retry

```go
func (*JobClient) Retry(
    ctx context.Context,
    jobID uuid.UUID,
) (int64, error)
```

Retry a job. All failed tasks will become queued again, and queued tasks will be picked up by runners again.

## Parameters

**jobID**

`uuid.UUID`

The id of the job to retry

## Returns

The number of tasks that were rescheduled.

```go title="Go"
nbRescheduled, err := client.Jobs.Retry(ctx,
    uuid.MustParse("0195c87a-49f6-5ffa-e3cb-92215d057ea6"),
)
```

## Errors

**not\_found**

`job not found`

The specified job does not exist.
