Creating Schedules

This section explains how to enter basic schedule information with the Console, CLI, and API.

  • This topic describes how to use the Console to enter basic schedule information.

    Prerequisites

    The following policies are required to create a schedule:

    • A policy giving you permission to create a schedule
    • A policy giving a schedule permission to act on a resource

    See Creating Schedules for information about policies.

    Procedure

    1. Open the navigation menu and click Governance & Administration.
    2. Under Resource Scheduler, click Schedules.
    3. Under Create a Schedule, click Schedules. The Create a schedule Basic information dialog box opens.
    4. Enter a Schedule name.
    5. Optional: Enter a Schedule description
    6. Use the Action to run menu to select either Start or Stop.
    7. Optional: Click Show advanced options to display the advanced options section. In this section, you can add tags to organize the schedules. Tags provide easy access to selected resources and you to group them for quick scheduling.
    8. Optional: Use the Tag menus to add Tag namespaces, Tag keys, and a Tag values.
    9. Click Next to go to the Resources screen, or click Cancel to close the schedule window without saving the schedule.
    10. Note

      You can apply tags to your resources to help you organize them according to your business needs. You can apply tags at the time you create a resource, or you can update the resource later with tags. See Adding Tags for information about adding tags to resources. For general information about applying tags, see Resource Tags.
  • Use the Resource Scheduler Create Schedule CLI command and required parameters to create a schedule.

    oci resource-scheduler schedule create --action, --compartment-id | -c, --recurrence-details,
          --defined-tags, --description, --display-name, --freeform-tags, -? | -h | --help,
          --resource-filters, --resources, --time-starts

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

  • Use the Resource Scheduler CreateSchedule API to create a schedule.

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