schedule

Schedules the execution of the specific configured time profile.
Syntax
schedule
no schedule
Command Default

By default, there are no schedules set and the status displays Not Scheduled. When a schedule is configured, the profile status changes to Scheduled.

Modes

Time-profile-configuration mode

Usage Guidelines

The no form of this command deletes the schedule configuration.

Examples

The following example shows how to create a one-time time profile named "profile1", configures the profile to execute the added command, and schedules the profile to run at 09:30 am on October 10, 2024.

device# configure terminal
device(config)# time-profile profile1
device(config-time-profile-profile1)# start-date 09-10-2024
device(config-time-profile-profile1)# execution-time 09:30
device(config-time-profile-profile1)# command-list
device(config-time-profile-profile1-command-list)# add "stack enable"
device(config-time-profile-profile1-command-list)# exit
device(config-time-profile-profile1)# schedule
History
Release version Command history
10.0.20a This command was introduced.