beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 56

background image

3

To do…

Use the command…

Remarks

Enable the scheduled reboot
function and specify a specific

reboot time and date

schedule reboot at hh:mm

[ date ]

Enable the scheduled reboot
function and specify a reboot
waiting time

schedule reboot delay
{ hh:mm | mm }

Required
Use either approach.
The scheduled reboot function is

disabled by default.
Available in user view.

CAUTION:

Device reboot may result in interruption of ongoing services. Use these commands with caution.

Before rebooting the device, use the save command to save the current configurations. For more
information about the save command, see

File Management Configuration in the System Volume.

Before rebooting the device, use the commands of display startup and display boot-loader to check if
the configuration file and boot file to be used at the next boot are configured. (For more information
about the display startup command, see

File Management Configuration in the System Volume.

The precision of the rebooting timer is 1 minute. One minute before the rebooting time, the device
prompts “REBOOT IN ONE MINUTE” and reboots in one minute.

If a main boot file fails or does not exist, the device cannot be rebooted with the reboot command. In this
case, you can re-specify a main boot file to reboot the device, or you can power off the device then
power it on and the system automatically uses the backup boot file to restart the device.

If you are performing file operations when the device is to be rebooted, the system does not execute the
command for the sake of security.

Configuring the Scheduled Automatic Execution

Function

The scheduled automatic execution function enables the system to automatically execute a specified

command at a specified time in a specified view. This function is used for scheduled system upgrade or
configuration.
Follow these steps to configure the scheduled automatic execution function:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a scheduled task and enter
job view, or enter this view directly

if a task is ready

job job-name

Required
No scheduled task is created by
default.

Specify the view in which the task
is executed

view view-name

Required
By default, no view is specified for
executing the scheduled task.

Bind the execution time with the
commands in the task, that is,

time timeID at time1 date
command command

Required