CLI: Schedules

You can use the schedule command to configure schedules. Schedule objects define a time range. They can be used to enable Optimizer policies at different times e.g. Work Hours/After Hours.

schedule <name> days <start-day> <end-day> times <start-time> <end-time>

schedule <name> days <start-day> <end-day> times <start-time> <end-time>
no schedule <name>

  • days <start-day> <end-day> - The date range for this time period in the schedule. The day is specified as monday|tuesday|wednesday|thursday|friday|saturday|sunday.
  • times <start-time> <end-time> - The time range for the days in this time period.The time is specified in military time - i.e. 1803 for 6:03pm
  • This command can be called multiple times for a given schedule name so that there are several time periods associated with the schedule.

EXAMPLE

Create an 'After Hours' schedule that includes 6pm to 8am, Monday to Friday and all day Saturday and Sunday.

schedule "After Hours" days Monday Friday times 1800 2400
schedule "After Hours" days Monday Friday times 0000 0800
schedule "After Hours" days Saturday Saturday times 0000 2400