R211x-HP Flexfabric 11900 Fundamentals Command Reference

276
Examples
# Configure the device to reboot after 88 minutes. This example assumes that the current time is 11: 4 8
a.m. on June 6, 2013.
<Sysname> scheduler reboot delay 88
Reboot system at 13:16 06/06/2013(in 1 hours and 28 minutes). Confirm? [Y/N]:
scheduler schedule
Use scheduler schedule to create a schedule and enter schedule view. If the schedule already exists, you
enter schedule view directly.
Use undo scheduler schedule to delete a schedule.
Syntax
scheduler schedule schedule-name
undo scheduler schedule schedule-name
Default
No schedule exists.
Views
System view
Predefined user roles
network-admin
mdc-admin
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. 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