240
Parameters
schedule-name
: Specifies the schedule name, a case-sensitive string of 1 to 47 characters.
Usage guidelines
You can schedule a job to have the device automatically run a command or a set of commands without
administrative interference.
To configure a schedule:
1.
Use the
scheduler job
command to create a job.
2.
In job view, use the
command
command to assign commands to the job.
3.
Use the
scheduler schedule
command to create a schedule.
4.
In schedule view, use the
job
command to assign the job to the schedule. You can assign multiple
jobs to a schedule. The jobs must already exist.
5.
Use the
user-role
command to assign user roles to the schedule. You can assign up to 64 user roles
to a schedule.
6.
In schedule view, use the
time at
,
time once
, or
time repeating
command to specify an execution
time for the schedule. You can specify only one execution time per schedule.
Examples
# Create a schedule named
saveconfig
.
<Sysname> system-view
[Sysname] scheduler schedule saveconfig
Related commands
•
job
•
time at
shutdown-interval
Use
shutdown-interval
to set the detection timer.
Use
undo
shutdown-interval
to restore the default.
Syntax
shutdown-interval
time
undo shutdown-interval
Default
The detection interval is 30 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
time
: Specifies a detection timer (in seconds) in the range of 0 to 300. Setting the timer to 0 disables the
detection function.