158
command will be executed on the second day. This command will be executed
only once.
Use
time
timeID
one-off at
time1
month-date
month-day
command
command
to
specify the time on the specified day in the current month for executing the
command. If the specified time has passed, this command will be executed at the
specified time on the specified day in the next month. This command will be
executed only once.
Use
time
timeID
one-off at
time1
week-day
week-daylist
command
command
to
specify the time on the specified day(s) in the current week for executing the
command. If the time has passed, this command will be executed at the specified
time on the specified day(s) in the next week. This command will be executed only
once.
Use
time
timeID
repeating at
time1
command
command
to specify the time for
repeating the command every day.
Use
time
timeID
repeating at
time1
month-date
month-day
command
command
to specify the time on a specific day for repeating the command every month.
Use
time
timeID
repeating at
time1
week-day
week-daylist
command
command
to specify the time on a specified day or days for repeating the command every
week.
Use
time
timeID
one-off delay
time2
command
command
to specify the time
delay for executing the command. This command will be executed only once.
Use
time
timeID
repeating delay
time2
command
command
to specify the time
interval for executing the command periodically.
Use
undo time
timeID
to remove the specified execution time.
Examples
Example 1:
Configure to save configuration file
a.cfg
at 24:00 on May 18, 2009.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view momitor
[Sysname-job-saveconfig] time 1 at 24:00 2009/05/18 command save a.cfg
Example 2:
Configure to save the configuration file at 12:00 every day.
<Sysname> system-view
[Sysname] job saveconfig
[Sysname-job-saveconfig] view momitor
[Sysname-job-saveconfig] time 1 repeating at 12:00 command save a.cfg