![HP A7500 Series Скачать руководство пользователя страница 215](http://html.mh-extra.com/html/hp/a7500-series/a7500-series_command-reference-manual_165809215.webp)
208
View
Job view
Default level
3: Manage level
Parameters
time
time-id
: Time setting entry, where
time-id
is an integer ranging from 1 to 10. A scheduled job can
be specified with up to 10 time setting entries.
one-off
: Specifies that the specified command runs only once.
repeating
: Specifies a recurring time schedule.
delay
time
: Specifies the delay time for executing the command, in the
hh:mm
format or
mm
format.
•
When the
time
argument is in the
hh:mm
format, the hh value ranges from 0 to 720, and the mm
value ranges from 0 to 59. When the hh value is 720, the mm value can be only 00.
•
When the
time
argument is in the
mm
format, the mm value ranges from 1 to 43,200. That is, the
maximum value of the delay timer is 30 days.
Changing a clock setting does not affect the schedule set by using the
time
delay
command.
command
command
: Command to run at a specified time.
Description
Use the
time
delay
command to configure a scheduled job to be executed after a delay time.
Use the
undo time
command to remove the configuration.
NOTE:
•
The commands in a scheduled job must be in the same view.
•
Every job can have up to 10 commands.
Examples
# Save the configuration file
a.cfg
five minutes later.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view monitor
[Sysname-job-saveconfig] time 1 one-off delay 5 command save a.cfg
# Save the configuration file
a.cfg
every five minutes.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view monitor
[Sysname-job-saveconfig] time 1 repeating delay 5 command save a.cfg
view
Syntax
view
view-name
undo view