Listing Jobs Associated with an Instance

View scheduled, pending, and completed jobs associated with an instance in OS Management Hub.

    1. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Instances.
    2. Under List scope, select the compartment that contains the instance.
    3. Click the name of the instance.
    4. Under Resources, click Jobs.
    5. Click the Scheduled jobs, In progress jobs, or Completed jobs tab to view details.

      Under Filters, you can optionally refine the jobs listed in the table.

      • In progress jobs report the following possible status values:
        • Accepted: The service has accepted the job and has work ready for instances.
        • In Progress: An agent has picked up the work and is executing it on an instance.
        • Canceling: The job is being canceled
      • Completed jobs report the following possible status values:
        • Successful: The job completed without error.
        • Failed: The job failed.
        • Canceled: The job was canceled
    6. Click the job name to view details, such as children jobs, log messages, and errors.
  • Use the oci os-management-hub scheduled-job list command and required parameters to list scheduled jobs.

    oci os-management-hub scheduled-job list --managed-instance-id ocid [OPTIONS]

    Use the oci os-management-hub work-request list command and required parameters to list pending and completed jobs.

    oci os-management-hub work-request list --resource-id instance-ocid [OPTIONS]

    Use the oci os-management-hub work-request get command and required parameters to get information for a specific job.

    oci os-management-hub work-request get --work-request-id ocid [OPTIONS]

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

  • Run the ListScheduledJobs operation to list scheduled jobs.

    Run the ListWorkRequests operation to list pending or completed jobs.

    Run the GetWorkRequest operation to get details for a pending or completed job.