Canceling a Job
Cancel a Batch job.
You can delete a job pool only if all of it's contained jobs are canceled. The job itself can be in either in the Active or Inactive state to be canceled.
- On the Batch contexts list page, select the batch context that contains the job pool with the job that you want to cancel. If you need help finding the list page, see Listing Batch Contexts.
- On the batch context details page, select the Job pools tab.
- Select the job pool that contains the job that you want to cancel.
- On the job pools details page, select the Jobs tab.
- Select the for the job that you want to cancel, and then select Cancel.
- In the Cancel dialog box, select Cancel.
- Use the oci batch batch-job cancel command and required parameters to cancel a job:
oci batch batch-job cancel [OPTIONS]For a complete list of flags and variable options for Batch CLI commands, see the Batch CLI.
Run the CancelBatchJob operation to cancel a job.