R0106-HP MSR Router Series Fundamentals Command Reference(V7)

257
Default
No execution time table is specified for a schedule.
Views
Schedule view
Predefined user roles
network-admin
Parameters
at time: Specifies the execution time in the format hh:mm. The hh value is in the range of 0 to 23. The mm
value is in the range of 0 to 59. If you do not specify this option, the current system time is used as the
execution time.
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. The value
range for DD varies by month. 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 equal to or greater than 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. If you specify a day that does not exist in a month, the configuration
takes effect on that day in the next month.
week-day week-day&<1-7>: Specifies a space-separated list of up to seven week days. Valid values
include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.
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