R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101

81
The time ID (time-id) must be unique in a job. If two time and command bindings have the same time ID,
the one configured last takes effect.
Changing a clock setting does not affect the schedule set by using the time delay command.
Use Table 19
when you add commands in a job.
Table 19 Command schedule options
Command Descri
p
tion
time timeid one-off delay time2 command
command
Schedules a command to run after a delay time.
The command runs only once.
time timeid repeating delay time2
command command
Schedules a command to run every the delay time.
Related commands: job and view.
Examples
# Save the configuration file 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 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
View
Job view
Default level
3: Manage level
Parameters
view-name: Specifies a view in which commands in the job run. A view name is a string of 1 to 90
characters.
Description
Use view to specify a view for a job.
Use undo view to remove the view of a job.
By default, no view is specified for a job.
Every job can have only one view. If you specify multiple views, the one specified the last takes effect.