Editing a Scheduled Job

Modify the name and description of an update job in OS Management Hub or alter its scheduled run time.

Note

You can edit only scheduled jobs, not in-progress or completed jobs.
  • Edit basic details

    Update the basic information for the scheduled job:

    • 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.

    Edit time and frequency

    Update the next execution time and the frequency of the job:

    • 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.

    Edit tags

    Expand Show advanced options to edit the tags for the job.

    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 also edit existing tags for the job from the Tags tab on the job details page.

    Review and update

    Review the modified details of the scheduled job, and then 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.