Moving a Scheduled Job to Another Compartment

Move a scheduled job to another compartment in Autonomous Linux. Placing resources in a specific compartment can help restrict access.

  • Move resource

    1. On the job details page, select Move resource from the Actions menu.
    2. Select the Destination compartment to move the scheduled job to.
    3. Select Move resource.
      Tip

      You can also perform this action from the list page, using the row's Actions menu (Actions icon).

  • Use the oci os-management-hub scheduled-job change-compartment command and required parameters to move the scheduled job to another compartment with the same region of the tenancy.

    oci os-management-hub scheduled-job change-compartment --scheduled-job-id ocid --compartment-id ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ChangeScheduledJobCompartment operation to move the scheduled job to another compartment within the same region of the tenancy.