Submitting a job
When submitting a job for execution you need to specify the following information:
- Image coordinates.
- Input JSON message, adhering to the input JSON schema defined in the image manifest.
and optionally:
- Number of vCPUs to use.
- Amount of memory to allocate.
- Number of GPUs to use.
- Timeout or maximum run time, after a cancellation is automatically done.
tip
If the input validation succeeds then BatchX schedules the job for execution and returns an incremental number (per-environment) as job id.
info
Job executions can be cached, if an equivalent job is found.
In order to submit a job using the CLI:
- Make sure you have completed the CLI installation.
- Submit the job by using the
bx submitorbx runcommands.