Every job can have only one view and up to 10 commands. If you specify multiple views, the
most recently specified view takes effect.
Enter a view name in its complete form. Most commonly used view names include monitor for
user view, system for system view, GigabitEthernet x/x/x for Ethernet interface view, and
Vlan-interfacex for VLAN interface view.
The time ID (time-id) must be unique in a job. If two time and command bindings have the same
time ID, the most recently configured binding takes effect.
Scheduling a job in the non-modular approach
To schedule a job, execute one of the following commands in user view:
Task
Schedule a job.
Scheduling a job in the modular approach
To configure a scheduled job:
Step
1.
Enter system view.
2.
Create a job and enter
job view.
3.
Specify the view in which
the commands in the job
run.
4.
Add commands to the
job.
Command
•
Schedule a job to run a
command at a specific time:
schedule job at time [ date ]
view view command
•
Schedule a job to run a
command after a delay:
schedule job delay time view
view command
Command
system-view
job job-name
view view-name
•
Configure a command to run at a
specific time and date:
time time-id at time date command
command
•
Configure a command to run at a
specific time:
time time-id { one-off | repeating }
at time [ month-date month-day |
week-day week-daylist ] command
command
•
Configure a command to run after a
delay:
time time-id { one-off | repeating }
delay time command command
113
Remarks
Use either command.
NOTE:
•
If you execute the schedule job command
multiple times, the most recent
configuration takes effect.
•
Changing any clock setting can cancel
the job set by using the schedule job
command.
Remarks
N/A
N/A
You can specify only one view for
a job. The job executes all
commands in the specified view.
Use any of the commands.
NOTE:
Changing a clock setting does not
affect the schedule set by using the
time at or time delay command.