5 scheduled task configuration, What is a scheduled task, Configuring a scheduled task – H3C Technologies H3C S3600 Series Switches User Manual
Page 1026: Configuration prerequisites, Scheduled, Task configuration, Scheduled task configuration
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.
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 to be executed at a specified time
Follow these steps to configure a scheduled task that will be executed at a specified time
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
You can specify only
one view for each
scheduled task
Execute the task
repeatedly within
a specified time
period
time time-id { one-off | repeating } at
time [ week-day week-daylist |
month-date month-day ] command
command
Configure a
scheduled
task
Execute the task
at the specified
time
time time-id at time date command
command
Use either command.
Display configuration of a
specified scheduled task
display job [ job-name ]
Available in any view