repeat monthly
repeat monthly
{
day-of-the-month
|
list-of-monthdays
}no repeat monthly
{
day-of-the-month
|
list-of-monthdays
}By default, the system assumes a profile of type one-time, which executes only once.
Time-profile-configuration mode
During configuration of the time-profile, you
may enter the repeat command at any point prior to entering the
schedule command. On applying this configuration, the time
profile type changes from default one-time to recurring. This command will be
applied only if no other repeat configuration exists for the specified profile.
The no form of this command
deletes the monthly recurrence configuration.
The following example shows how to create a recurring time profile named "monthly", configuring the profile to execute the added command, and scheduling the profile to run on the 2nd day of every month at 5:30 am beginning September 30, 2024.
device(config)# time-profile monthly device(config-time-profile-monthly)# repeat monthly 2 device(config-time-profile-monthly)# command-list device(config-time-profile-monthly-command-list)# add "inline power allocation dynamic all" device(config-time-profile-monthly-command-list)# exit device(config-time-profile-monthly)# start-date 09-30-24 device(config-time-profile-monthly)# execution-time 05:30 device(config-time-profile-monthly)# schedule
The following example shows how to create a recurring time profile named "profile1", configuring the profile to execute the added commands, and scheduling the profile to run on the 15th, and the 20th through the 25th of every month at 8:50 am beginning September 30, 2024.
device# configure terminal device(config)# time-profile profile1 device(config-time-profile-profile1)# start-date 09-30-24 device(config-time-profile-profile1)# execution-time 08:50 device(config-time-profile-profile1)# command-list device(config-time-profile-profile1-command-list)# add "port-profile abc" device(config-time-profile-profile1-command-list)# add "port-speed auto" device(config-time-profile-profile1-command-list)# add "ports eth 1/1/2 to 1/1/8" device(config-time-profile-profile1-command-list)# exit device(config-time-profile-profile1)# repeat monthly 15,20-25 device(config-time-profile-profile1)# schedule
| Release version | Command history |
|---|---|
| 10.0.20a | This command was introduced. |