3-15
z After you execute the command, the system will prompt you to confirm. Enter "Y" or "y" for your
setting to take effect. Your setting will overwrite the previous one (if there is a setting already
exists).
z If you adjust the system time by the clock command after executing the schedule reboot delay
command, the configured schedule reboot delay command will be invalid and the scheduled
reboot will not happen.
Related commands: reboot, schedule reboot at, undo schedule reboot, display schedule reboot.
Examples
# Suppose the current time is 05:15, schedule a reboot so that the switch reboots after 70 minutes.
<Sysname> schedule reboot delay 70
Reboot system at 06:25 2000/04/02(in 1 hours and 10 minutes)
confirm?[Y/N]:y
<Sysname>
schedule reboot regularity
Syntax
schedule reboot regularity at hh:mm period
undo schedule reboot regularity
View
System view
Parameters
hh:mm: Reboot time of the switch, in the hour:minute format, where hh ranges from 0 to 24, and mm
ranges from 0 to 59.
period: Reboot period of the switch, in the format period = { daily | { monday | tuesday | wednesday |
thursday | friday | saturday | sunday }* }. daily indicates the reboot period is one day, that is, the
switch reboots at a specified time every day. { monday | tuesday | wednesday | thursday | friday |
saturday | sunday }* indicates the week day when the switch reboots.
Description
Use the schedule reboot regularity command to enable the periodical reboot of the switch and set the
reboot time.
Use the undo schedule reboot regularity command to cancel the configured reboot period.
By default, the reboot period of the switch is not configured.
The switch timer can be set to a precision of one minute, that is, the switch will reboot within one minute
after the specified reboot date and time.