Listing Jobs Associated with an Instance

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

  • Jobs tabs

    Select one of the following tabs to view a list of jobs:

    • Scheduled jobs: Lists jobs scheduled for the individual instance (such as reboot and rerun of a failed job).
    • Group scheduled jobs: Lists jobs scheduled for the entire group (if instance is a member of a group).
    • Lifecycle stage scheduled jobs: Lists jobs scheduled for the entire lifecycle stage (if instance is in a lifecycle stage).
    • In progress jobs: Lists jobs actively running.
    • Completed jobs: Lists jobs that have finished.

    Use filters to refine the list

    Use Filters to refine the list of jobs based on:

  • 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.