![]() ![]() Therefore, do not use this command when the device is running properly.īefore restarting the device, ensure that the configuration file has been saved. This command restarts the device at the specified time, interrupting all services on the device. If the time difference is equal to or less than ten minutes, the device immediately restarts and does not save the configuration. The scheduled restart function becomes invalid when you use the clock datetime command to set the system time to over 10 minutes later than the restart time set by the schedule reboot command. Note that the gap between the specified date and current date must be shorter than or equal to 720 hours If the scheduled restart has been configured, the latest configuration overrides the previous one. The specified time is earlier than the current time, the device restarts at the set time next day. If no date is set, two situations occur: If the specified time is later than the current time, the device restarts at the specified time of the day. ![]() If the schedule reboot at command is used to set a specific date ( YYYY-MM-DD) and theĭate is a future date, the device restarts at the specified time, with an error within 1 minute. When upgrading or restarting the device, you can configure the device to restart at time when few services are running to minimize the impact on services. Is there anything special about using cron to do a reboot This is my crontab for the root user: m h dom mon dow command 50 8 shutdown now -r > /var/log/cron.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |