How to manage the retries of a Serverless Job
The retry option lets you define how many times a Serverless Job automatically retries on failure. A retry is triggered whenever a job run ends in a failed status, regardless of the exit code returned by the runtime.
- Retried ā job runs in a
failedstatus with a valid exit code - Not retried:
- job runs in
failedstatus without an exit_code (null), e.g., platform mismatch or some other infrastructure-side error ā job runs in aninterruptedstatus
- job runs in
Once the job reaches the maximum number of failed retries, it is permanently marked as failed.
Before you start
To complete the following actions, you must have:
- A Scaleway account logged into the console (External link)
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- Created a Serverless Job
-
Click Jobs in the Serverless section of the side menu. The jobs page displays.
-
Click the name of the job you want to manage, then click the Settings tab.
-
Scroll down to the Configure advanced options section, then click the Retries tab.
-
Set the number of times the job retries on failure. The default value is 0, and the maximum value is 5.
See Also
Still need help?Create a support ticket