The schedule reboot command enables the scheduled restart of the device, and sets the time at which the device restarts or the time for the device wait for a restart.
The undo schedule reboot command disables the schedule restart function.
By default, the scheduled rebooting function is disabled for the device.
Parameter | Description | Value |
---|---|---|
at |
Sets the time when the device restarts. |
- |
time |
Specifies the time. |
There are two formats of interval:
|
date |
Specifies the date when the device restarts. |
The date format is YYYY/MM/DD, in which YYYY/MM/DD indicates the year, month, and day. The information transfer strategy is as follows:
|
delay |
Sets the time before the device restarts. |
- |
interval |
Specifies the delay before the device restarts. |
There are two formats of interval:
|
force |
Forces the timer to restart the device. |
- |
Usage Scenario
If the device needs to be restarted but not urgently, run the schedule reboot command to set a time for the device to restart.
Configuration Impact
If the schedule reboot at command is used to set a specific date parameter (yyyy/mm/dd) and the date is a future date, the Device restarts at the scheduled time and the error is within 1 minute.
Note that the specified date cannot be 30 days later than the current date. In addition, after this command is used, the system prompts you to confirm the input information. The setting takes effect only after you enter "Y" or "y". If the related configuration exists, the latest configuration overrides the previous one. If no specific date is set, the following situations occur:Precautions
Exercise caution when running this command. When the device restarts at the scheduled time, services are interrupted on the entire device.
When the device restarts, ensure that the configuration file on the device is saved.In VS mode, this command is supported only by the admin VS.
<HUAWEI> schedule reboot at 22:00
Warning: Current configuration will be saved to the next startup saved-configuration file! Continue? [Y/N]:y
Now saving the current configuration......
Save the configuration successfully.
Info: Reboot system at 22:00:00 2012/12/17 UTC(in 13 hours and 46 minutes)
confirm? [Y/N]:y