Keywords: Scheduled Task, Scheduled Restart1. Configuration Requirements Configure an NBR device torestart at 01:00 every day. 2. Device Model and Firmware
4.1 Configuring the Device to Save Logs to the Hard Disk
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. |
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