Disabling a Schedule

Complete the following instructions to disable a schedule with Resource Scheduler.

  • Complete the following instructions to use the Console in Resource Scheduler to disable a schedule.

    Important

    To create schedules using these procedures, you must have a policy that allows you to access, create, and modify schedules, and you must have a policy that allows schedules to manage resources. For more information, see Authentication and Authorization, Resource Scheduler Policies, and Example Policies.
    1. On the Resource Scheduler Schedules page, do one of the following:
      • At the right end of the row that contains the name of the schedule that you want to disable, select the Actions menu (Actions Menu) and select Disable.
      • Select the name of the schedule that you want to disable.
    2. On the Schedule details page, select Disable Schedule.
    3. In the The Disable Schedule confirmation dialog box, select Disable to disable the schedule.
      Note

      Disable works only during the schedule initialization stage and when the schedule is not running. If a schedule is running, disable cannot stop it.

      When you select Disable, the schedule is disabled, the dialog box closes, the Disable schedule button changes to Enable schedule, the label in the left pane changes to Inactive, and the Schedule icon changes color to brown.

    4. Optional: Return to the Resource Scheduler home page and display the list of schedules. Check the status of the schedule you just disabled and verify that it is now Disabled.
  • Use the Resource Scheduler ScheduleDeactivate CLI command and required parameters to disable a schedule.

    oci resource-scheduler schedule deactivate --schedule-id, -? | -h |
        --help

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • use the Resource Scheduler DeactivateSchedule API to disable a schedule.

    For a complete list of Resource Scheduler APIs, see Resource Scheduler APIs.