Disabling a Schedule

This topic explains how to disable a schedule.

  • This topic explains how to disable a schedule using the Console.

    You can disable a schedule from two places in Resource Scheduler.

    • The landing page (list schedules)

      On the landing page, click the Actions menu ( ⁝ ) at the right end of the row that contains the schedule that you want to disable. The disable schedule window opens.

    • The Schedule details page. Click Disable Schedule to open the Edit Schedule window.
    To disable a schedule:
    1. In the list of schedules, click the name of a schedule that you want to disable. The details page for that schedule opens.
    2. Optional: At the right end of the row that contains the name of the schedule, click the Actions menu (Actions Menu) ( ⁝ ) to display a menu.
    3. Click Disable Schedule. The Disable Schedule confirmation dialog box opens.
    4. Click Disable to disable the schedule and close the dialog box, or click Cancel to close the dialog box without disabling the schedule.
      Note

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

      When you click 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.

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