5-1
5
Scheduled Task Configuration
What Is a Scheduled Task
A scheduled task defines a command or a group of commands and when such commands will be
executed. It allows a device to execute specified command(s) at a time when no person is available to
maintain the device.
With a scheduled task configured, the device checks the configured task list every minute; if the device
finds that the time to execute a command is reached, it automatically executes the command.
A scheduled task can be configured in two modes:
z
Execute a command at a specified time.
z
Execute a command repeatedly at a specified period.
Configuring a Scheduled Task
Configuration Prerequisites
Note the following when configuring a scheduled task:
z
The commands in a scheduled task must be in the same view.
z
You can specify up to ten commands in one scheduled task. To execute more than ten commands,
you can specify multiple scheduled tasks.
Configuring a Scheduled Task
Specify the time 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 a
command
repeatedly at
a specified
time
time time-id
{
one-off
|
repeating
}
at time
[
week-day week-daylist
|
month-date month-day
]
command
command
Configure a
scheduled
task
Execute a
command at a
specified time
time time-id at time date
command
command
Required
Use any of the commands.
Содержание Switch 4210 52-Port
Страница 253: ...ii Configuring Dropping Unknown Multicast Packets 3 2 Displaying Common Multicast Configuration 3 3 ...
Страница 434: ...3 13 Switch Ethernet1 0 2 ip source static binding ip address 1 1 1 1 mac address 0001 0001 0001 ...
Страница 675: ...ii Configuring a Scheduled Task 5 1 Scheduled Task Configuration Example 5 2 ...
Страница 695: ...2 2 ...
Страница 867: ...i Table of Contents Appendix A Acronyms A 1 ...