R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference

198
Examples
# Schedule a job to save the configuration file a.cfg at 3:00 on May 18, 2009.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view monitor
[Sysname-job-saveconfig] time 1 at 3:00 2009/05/18 command save a.cfg
# Schedule a job to save the configuration file at 12:00 every day.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view monitor
[Sysname-job-saveconfig] time 1 repeating at 12:00 command save a.cfg
# Schedule a job to save the configuration file at 8:00 AM on 5
th
in the current month, which might be
executed in the second month 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 month-date 5 command save a.cfg
# Schedule a job to save the configuration file at 8:00 AM on 5
th
every month.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view monitor
[Sysname-job-saveconfig] time 1 repeating at 8:00 month-date 5 command save a.cfg
# 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