Viewing Job Details
View the details of a job, such as child jobs, log messages, and errors for a job within Autonomous Linux.
Navigate
Scheduled job details
The state of the scheduled job is shown next to its name.
The Details tab shows the following information for the scheduled job:
- Job type: Type of job.
- OCID: Oracle Cloud Identifier (OCID) assigned to the scheduled job.
- Compartment: Compartment where the scheduled job resides.
- Description: User provided description for the scheduled job (if provided).
- Last run: (recurring scheduled job only) The date and time the job last ran.
- Recurrence: The frequency that the job runs.
- Automatic retry: Whether the scheduled job is automatically retried in the event of failure.
- Next execution: The date and time the job runs next.
- End date: The final time the scheduled job runs.
The Associated targets area provides a filterable list of targets (instances, lifecycles, or groups) that the scheduled job runs against.
The Work requests tab shows all work requests that were generated by the scheduled job.
Work request details
The status of the work request is shown next to its name.
The Details tab shows the following information for the work request:
- Job type: Type of job performed by the work request.
- OCID: Oracle Cloud Identifier (OCID) assigned to the work request.
- Compartment: Compartment where the work request resides.
- Target: The instance, lifecycle, or group that the job targets.
- % complete: Indicates the percentage of the job that has been completed, from 0% (not started) to 100% (finished).
- Dates and times when the work request was:
-
- Last updated
- Accepted
- Started
- Completed
- Associated scheduled job: The scheduled job that generated the work request.
- Parent work:
- If the work request is standalone, or part of a hierarchy and is the parent work request, this entry is blank. Any children work requests are listed in the Associated work requests table.
- If the work request is a child work request in a hierarchy, this entry displays the parent work request. For standalone or child work requests, the Associated targets table lists the targets (instances, lifecycles, or groups) that the work request affects.
Next Steps
After viewing the job, next steps might include:
- Rebooting an Instance (some updates might require a reboot)
- Rerunning a Failed Job
- Editing a Scheduled Job
Use the oci os-management-hub scheduled-job get command and required parameters to get information for a specific scheduled job.
oci os-management-hub scheduled-job get --scheduled-job-id ocid [OPTIONS]Use the oci os-management-hub work-request get command and required parameters to get information for a specific job that has been completed.
oci os-management-hub work-request get --work-request-id ocid [OPTIONS]Use the oci os-management-hub work-request list-logs command and required parameters to view logs for a specific job.
oci os-management-hub work-request list-logs --work-request-id ocid [OPTIONS]Use the oci os-management-hub work-request list-errors command and required parameters to view errors for a specific job.
oci os-management-hub work-request list-errors --work-request-id ocid [OPTIONS]For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the GetScheduledJob operation to get information about a specific scheduled job.
Run the GetWorkRequest operation to get information about a specific job that has completed.
Run the ListWorkRequestsErrors operation to list the errors for a specific job.
Run the ListWorkRequestsErrors operation to list the logs for a specific job.