repeat monthly

Sets the recurrence interval for monthly execution of time profile on specified days in a month.
Syntax
repeat monthly { day-of-the-month | list-of-monthdays }
no repeat monthly { day-of-the-month | list-of-monthdays }
Command Default

By default, the system assumes a profile of type one-time, which executes only once.

Parameters
day-of-the-month
Specifies one day of the month for recurring execution of the time profile. Use a number (1-31) to represent the day of the month.
list-of-monthdays
Specifies multiple days of the month for recurring execution of the time profile. Use numbers 1 through 31 to represent the days. Day numbers can be entered as a comma-separated list, a range, or a combination of both comma-separated list and range.
Modes

Time-profile-configuration mode

Usage Guidelines

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.

Examples

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
History
Release version Command history
10.0.20a This command was introduced.