R0106-HP MSR Router Series Fundamentals Command Reference(V7)

252
Usage guidelines
CAUTION:
Device reboot interrupts network services.
For data security, if you are performing file operations at the reboot time, the system does not reboot.
The device supports only one device reboot schedule. If you configure both the schedule reboot delay
and schedule reboot delay commands or configure one of the commands multiple times, the most recent
configuration takes effect.
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
Parameters
schedule-name: Specifies the schedule name, a case-sensitive string of 1 to 47 characters.
Usage guidelines
You can configure a schedule 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. Use the command command to assign commands to the job.
3. Use the scheduler schedule command to create a schedule.
4. 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.