Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
OCI : How To Get Details of A Scheduled Job In OSMS Using the CLI
It is possible to get the details of a scheduled job in OSMS using the OCI CLI, including the "update-type" value.
To get details of a scheduled job, use the oci command with the "--scheduled-job-id" option from the CLI, such as in the following example:
#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, see the following topic: https://docs.oracle.com/en-us/iaas/tools/oci-cli/3.6.1/oci_cli_docs/cmdref/os-management/scheduled-job.html
Tagged:
0