Editing a Scheduled Job
Modify the name and description of an update job in OS Management Hub or alter its scheduled run time.
You can edit only scheduled jobs, not in-progress or completed jobs.
- Open the navigation menu and click Observability & Management. Under OS Management Hub, click Jobs.
- Under List scope, select the compartment associated with the job.
- In the Scheduled jobs tab, click the name of the job to edit.
-
Click Edit and then update the following job information.
Name: Enter a name for the job. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the instance. Avoid entering confidential information.
Description: (Optional) Enter a description for the job. Avoid entering confidential information.
Date and time: Click the calendar icon and select the date and time you want the job to run.
Frequency: Choose how often you want the job to run.- To schedule the job to run only one time, select Once. This option is the default.
- To schedule the job to recur, select either Hour, Day, Week, or Month, and then enter the interval.
Automatic Retry: When selected, if the initial execution of the job fails, the service retries the job up three times. Each retry is five minutes apart.
Show advanced options: Click to add tags to this resource.
If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, ask an administrator or skip this option. You can apply tags later.
Note
You can edit existing tags for the job from the Tags tab on the job details page. - Click Save changes.
Use the oci os-management-hub scheduled-job update command and required parameters to update a scheduled job.
oci os-management-hub scheduled-job update --scheduled-job-id ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the UpdateScheduledJob operation to update the details of a scheduled job.