Moving a Job
Move a job in Batch to a different compartment in the same tenancy.
When you move a job, all tasks that belong to the job move with the job.
- On the Batch contexts list page, select the batch context that contains the job pool with the job that you want to move. 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 move.
- On the job pools details page, select the Jobs tab.
- Select the for the job that you want to move, and then select Move resource.
- In the Move resource panel, select the destination compartment from the list.
- Use the oci batch batch-job-pool change-compartment command and required parameters to move a job to a different compartment in the same tenancy.
oci batch batch-job change-compartment [OPTIONS]For a complete list of flags and variable options for Batch CLI commands, see the Batch CLI.
Run the ChangeBatchJobPoolCompartment to move a job to a different compartment in the same tenancy.