R21xx-HP FlexFabric 11900 Fundamentals Command Reference
255
date: Specifies the start date for the periodic schedule, in the format MM/DD/YYYY or YYYY/MM/DD.
The YYYY value is in the range of 2000 to 2035, the MM value is in the range of 1 to 12, and the value
range of DD depends on the month value. If you do not specify this argument, the execution start date is
the first day when the specified time arrives.
interval interval-time: Specifies the execution time interval in the format hh:mm or mm. This argument can
consist up to 6 characters. When in the format hh:mm, mm must be in the range of 0 to 59. When in the
format mm, this argument must be at least 1 minute.
month-date [ month-day | last ]: Specifies a day in a month, in the range 1 to 31. The last keyword
indicates the last day of a month.
week-day week-day&<1-7>: Specifies one or more week days. Valid values include Mon, Tue, Wed, Thu,
Fri, Sat, and Sun. <1-7> means that you can specify 1 to 7 week days. To specify multiple week days,
separate the values with spaces.
Usage guidelines
The time repeating [ at time [ date ] ] interval interval-time command configures the device to execute a
schedule at an interval from the specified time on.
The time repeating at time [ month-date [ month-day | last ] | week-day week-day&<1-7> ] command
configures the device to execute a schedule at the specified time on every specified day in a month or
week.
The time at command, the time once command, and the time repeating command overwrite one another,
whichever is configured most recently takes effect.
Examples
# Configure the device to execute schedule saveconfig once a hour from 8:00 a.m. on.
<Sysname> system-view
[Sysname] scheduler schedule saveconfig
[Sysname-schedule-saveconfig] time repeating at 8:00 interval 60
# Configure the device to execute schedule saveconfig at 12:00 p.m. every day.
<Sysname> system-view
[Sysname] scheduler schedule saveconfig
[Sysname-schedule-saveconfig] time repeating at 12:00
# Configure the device to execute schedule saveconfig at 8:00 a.m. on the 5th of every month.
<Sysname> system-view
[Sysname] scheduler schedule saveconfig
[Sysname-schedule-saveconfig] time repeating at 8:00 month-date 5
# Configure the device to execute schedule saveconfig at 8:00 a.m. on the last day of every month.
<Sysname> system-view
[Sysname] scheduler schedule saveconfig
[Sysname-schedule-saveconfig] time repeating at 8:00 month-date last
# Configure the device to execute schedule saveconfig at 8:00 a.m. every Friday and Saturday.
<Sysname> system-view
[Sysname] scheduler schedule saveconfig
[Sysname-schedule-saveconfig] time repeating at 8:00 week-day fri sat
Related commands
scheduler schedule










