5-2
To do…
Use the command…
Description
Display information about a
scheduled task
display job
[
job-name
]
Available in any view
Specify the time delay to execute the commands in the task
Follow these steps to configure a scheduled task:
To do…
Use the command…
Description
Enter system view
system-view
—
Create a scheduled task, and
enter scheduled task view
job
job-name
Required
Configure the view where the
specified commands are to be
executed
view view
Required
Execute the commands at a
specified time delay
time time-id
{
one-off
|
repeating
}
delay time command command
Required
Display information about a
scheduled task
display job
[
job-name
]
Available in any view
z
You can specify only one view for each scheduled task.
z
After a scheduled task is configured, modification of the system time will affect the execution of the
task. However, as the delay keyword is unrelated to the system time, even though the system time
changes, the specified command is still executed after a specified interval.
Scheduled Task Configuration Example
Network requirements
Configure Switch so that the IP phones connected to the port of Switch are available from eight AM to
six PM from Monday to Friday.
Figure 5-1
Network diagram for scheduled task configuration