Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

【Typical Case】How to Configure Scheduled Restart on NBR Devices? Reply

GTAC-Sophia

Level 5

Ruijie Staff

【Typical Case】How to Configure Scheduled Restart on NBR Devices?
960 0 2024-8-2 10:39:30
Original
Keywords:

Scheduled Task, Scheduled Restart
1. Configuration Requirements
Configure an NBR device torestart at 01:00 every day.
2. Device Model and Firmware
  Device Type
  
  Device Model
  
  Firmware  Version
  
            RGOS11.9(6)B17P2
  
3. Configuration Notes
  • Configure the device to savelogs to the hard disk.
  • Configure a scheduled task.
4. Configuration Procedure

4.1 Configuring the Device to Save Logs to the Hard Disk
  • Log storage priorities for scheduled tasks: Hard disk > eMMC > USB flash drive > SD card > flash memory.
  • In the NBR6200 series, theNBR6120-E supports scheduled tasks by default. For other models, enabling Save Logs Locally is required. Scheduled restarts are supported following device restarts (Note: A hard disk is necessary for other scheduled tasks).
  • Save Logs Locally
    is disabled by default on the NBR6200-E. Configuration of scheduled tasks is only available after Save Logs Locally is enabled. To enable Save Logs Locally, choose Advanced > System > Enhancement > Save Logs Locally > Disable. Uncheck the box next to Disable.


Configuration path:
Choose Advanced > System > Enhancement > Save Logs Locally > Disable.
By default, the box next to Disable is checked, meaning logs are not saved to the hard disk. To ensure a scheduled task has the highest priority, uncheck the box next to Disable to save the logs to the hard disk.


Note: After unchecking Disable, restart the device to apply the configuration. Then proceed to configure ascheduled task.
4.2 Configuring a Scheduled Task
After the scheduled task function is enabled on the NBR6200-E, it cannot be configured through the web interface. You must use the CLI to configure this function.
1. Run the following command toenable the User Task function.
user-task enable

2. Configure a one-time scheduledtask.
reload at hh:mm:ss month dayyear

3. Configure a recurring scheduled task. (Enter ruijie# in privileged EXEC mode)
user-task add aa command“reload@y” mode exec date 2018 9 4 time 3:00 every 24:00

Run the preceding command to configure a recurring task named aa that restartsthe device daily at 3:00.
Note: The configured time cannot be earlier than the current system time. Otherwise, the device will restart immediately. Please exercise caution.
4. View a scheduled task.
When you run the show run command, the scheduled task configuration will not appear. The output of show run only displays user-task enable without showing the detailed configuration. To view the scheduled task configuration, use the show user-task command.
5. Delete a scheduled task.
NBR2500D-E#user-task deleteaa  ---aa indicates the task name.
RG-NBR6120-E

Typical Case Router
There are no replies.
Related Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd