How to configure scheduled restart on an AR

To implement scheduled reboot on AR routers, you can use command line. The procedure is as follows:
Step 1: Edit the following content in the notepad and save it as reboot.bat.
Step 2: Upload the reboot.bat file to the device.
Step 3: Create a maintenance assistant task. For details, see the following example:

system view
Enter system view, return user view with Ctrl+Z.
[huawei] assistant task reboot
[huawei-assistant-task-reboot] if-mat
[huawei-assistant-task-reboot] if-match timer
[huawei-assistant-task-reboot] if-match timer cron * 0 20 4 5 * 2016 //Set the execution time to 2016-05-04 20:00.
[huawei-assistant-task-reboot] perform 1 batch-file flash:/reboot.bat//Enter the actual file path.
Note: After the configuration, you must save the configuration to prevent configuration loss after a restart.

Scroll to top