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.
- In the list of schedules, click the name of a schedule that you want to disable. The details page for that schedule opens.
- Optional: At the right end of the row that contains the name of the schedule, click the ( ⁝ ) to display a menu.
- Click Disable Schedule. The Disable Schedule confirmation dialog box opens.
- 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.
- 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.
- The landing page (list schedules)
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.