R3303-HP HSR6800 Routers Fundamentals Command Reference

185
Examples
# Set the exception handling method to reboot.
<Sysname> system-view
[Sysname] system-failure reboot
time at
Use time at to add a command to run at a specific time and date in the job schedule.
Use undo time to remove a command from the job schedule.
Syntax
time time-id at time date command command
time time-id { one-off | repeating } at time [ month-date month-day | week-day week-daylist ] command
command
undo time time-id
Views
Job view
Default command level
3: Manage level
Parameters
time timeid: Time setting entry, an integer that in the range of 1 to 10.
at time: Specifies an execution time, in the hh:mm format, where the hh value is in the range of 0 to 23
and the mm value is in the range of 0 to 59.
one-off: Specifies that the specified command is executed for once.
repeating: Specifies a recurring time schedule.
date: Specifies an execution date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value is in
the range of 2000 to 2035, the MM value is in the range of 1 to 12, and the DD value is in the range
of 1 to 31. The specified execution date must be ahead of the current date.
month-date month-day: Specifies the date for executing the command. month-day specifies the date, and
is in the range of 1 to 31.
week-day week-daylist: Specifies the day or days for executing the command. The week-daylist argument
specifies 1 day or up to 7 days, which can be any combination of Sun, Mon, Tue, Wed, Thu, Fri, and Sat.
For example, to have a command executed on Monday, you can enter week-day Mon; to have a
command executed on Friday and Saturday, enter week-day Fri Sat. Use a space between every 2 days
for separation.
command command: Specifies the command to be automatically executed, in the text format. The
command must be executable in the view specified by the view command. Otherwise this command
cannot be automatically executed. Therefore, ensure the correctness of the configuration.
Usage guidelines
The commands in a job must be in the same view.
Every job can have up to 10 commands.