Editing a Scheduled Job
Modify the name and description of an update job in Autonomous Linux or alter its scheduled run time.
You can edit only scheduled jobs, not in-progress or completed jobs.
- Open the navigation menu and select Observability & Management. Under Autonomous Linux, select Jobs.
- Under List scope, select the compartment associated with the job.
- On the Jobs list page, under Scheduled jobs, select the name of the job to edit. If you need help finding the list page, see Listing Jobs in a Compartment.
-
Select Edit and then update the following job information.
Note
For restricted jobs, you can only edit the time.Name: Enter a name for the job. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the job. Avoid entering confidential information.
Description: (Optional) Enter a description for the job. Avoid entering confidential information.
Date and time: Select 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: 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. - Select 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.