How to run a Serverless Job
Reviewed on 23 May 2024 • Published on 14 November 2023
This page shows you how to manually run a Serverless Job from the Scaleway console. You can also run a Serverless Job with contextual options that only apply to one run.
To complete the actions presented below, you must have:
- Click Jobs in the Serverless section of the side menu. The Serverless Jobs page displays.
- Click the name of the job you want to run. The job Overview tab displays.
- Click the Actions button, then click Run job in the drop-down menu. Your job starts, and a new entry appears in the Job runs section.
The Job runs section contains basic monitoring information for your jobs:
- A status, that can be
running
, succeeded
, canceled
, or failed
- A unique identifier
- A start date and an end date
- The duration of the job execution
TipUse Cockpit for in-depth monitoring of the activity of your serverless jobs.
- Click Jobs in the Serverless section of the side menu. The Serverless Jobs page displays.
- Click the name of the job you want to run. The job Overview tab displays.
- Click the Actions button, then click Run job with options in the drop-down menu. The contextual options wizard displays.
- Enter the following elements in the wizard:
- Number of jobs to run: the number of simultaneous jobs to execute at the same time.
- Contextual environment variables: the environment variables to use for this specific job run (in case of collision, overrides environment variables with the same key defined in the job definition).
- Contextual startup command: the startup command to use for this specific job (overrides the startup command defined in the job definition).
- Click Run job. Your job starts, and a new entry appears in the Job runs section.
The Job runs section contains basic monitoring information for your jobs:
- A status, that can be
running
, succeeded
, canceled
, or failed
- A unique identifier
- A start date and an end date
- The duration of the job execution
TipUse Cockpit for in-depth monitoring of the activity of your serverless jobs.