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, including those that fail with anullexit code (e.g., platform mismatch or other infrastructure-side error). - Not retried — job runs in an
interruptedstatus. Retry oninterruptedis not yet supported.
Once the job reaches the maximum number of failed retries, it is permanently marked as failed.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- 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