Listing Jobs

List a job in Batch.

    1. On the Batch contexts list page, select the batch context that contains the job pool with the job that you want to list. If you need help finding the list page, see Listing Batch Contexts.
    2. On the batch context details page, select the Job pools tab.
    3. Select the job pool that contains the jobs.
    4. On the job pool details page, select the Jobs tab.
      All the existing jobs in the compartment are displayed in a table.
    5. (Optional) If you need to check the progress of the job and progress details, check the Progress column for the job.

      The Progress column shows the percentage of tasks in each job that have reached a terminal state. Succeeded, failed, and canceled tasks count toward progress once they reach a terminal state, so progress measures completion, not the success rate. For example, if 20 of 40 tasks have succeeded and 20 are still running, OCI Batch reports the job as 50 percent complete. For more information on job progress, see Monitoring Job Progress.

    Filtering List Results

    Use filters to limit job in the list. Perform one of the following actions depending on the options that you see:

    • From the Search and Filter box above the list table, select one or more filters and specify the values that you want to use to narrow the list. In general, the filters correspond to the columns shown in the list table, although some filters represent attributes that aren't shown in the table. The Compartment filter is always displayed next to Applied filters.
    • On the left side of the list page, select a value from one of the available filters, such as compartment, state, or tags.

    Change the order of the items in the list table by using the sort icons next to the column names.

    For information about searching for resources and managing the columns in the list table, if those features are available, see Listing Resources.

  • Use the oci batch batch-job list command and required parameters to list jobs in a Batch:

    oci batch batch-job list [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ListBatchJobs operation to list jobs in a Batch.