You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI : How To Get Details of Scheduled Job In OSMS Using CLI

Announcement
11
Views
0
Comments

Applies to: 

Oracle Cloud Infrastructure - Version N/A and later

Linux x86-64

Goal

OCI CLI command to get details of an OSMS scheduled job including the “update-type” value.

Solution

To get details of a scheduled job using the "job-id" option

Example command:

# oci os-management scheduled-job get --scheduled-job-id 

ocid1.osmsscheduledjob.oc1..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
.... 
“managed-instances”: [], 
“operation-type”: “UPDATEALL”, 
“os-family”: “LINUX”, 
“package-names”: null, 
“schedule-type”: “RECURRING”, 
“time-last-execution”: “2020-08-13T17:32:41+00:00”, 
“time-next-execution”: “2020-08-13T18:00:00+00:00”, 
“update-names”: null, 
“update-type”: “ALL”, 
“work-requests”: [ 
{ 


 For more information: https://docs.oracle.com/en-us/iaas/tools/oci-cli/3.6.1/oci_cli_docs/cmdref/os-management/scheduled-job.html

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!