HP VPN Firewall Appliances Getting Started Command Reference
99
# Schedule a job to save the configuration file at 8:00 AM on Friday and Saturday in the current week,
which might be delayed to the next week if the time has passed.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view monitor
[Sysname-job-saveconfig] time 1 one-off at 8:00 week-day fri sat command save a.cfg
# Schedule a job to save the configuration file at 8:00 every Fridays and Saturdays.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view monitor
[Sysname-job-saveconfig] time 1 repeating at 8:00 week-day fri sat command save a.cfg
Related commands
• job
• view
time delay
Use time delay to add a command to run after a delay in the job schedule.
Use undo time to remove a command from the job schedule.
Syntax
time time-id { one-off | repeating } delay time command command
undo time time-id
Views
Job view
Default command level
3: Manage level
Parameters
time timeid: Time setting entry, an integer that is in the range of 1 to 10.
one-off: Specifies that the specified command is executed for 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 is in the range of 0 to 720, and the
mm value is in the range of 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 is in the range of 1 to 43,200. That is,
the maximum value of the delay timer is 30 days.
command command: Specifies the command to be automatically executed, in the text format. The
specified command must be a complete command without interactive input.
Usage guidelines
The commands in a scheduled job must be in the same view.
Every job can have up to 10 commands.