How to schedule a reboot for a specific time on Linux

Use this command:

root@cp:~# shutdown -r 03:30
Shutdown scheduled for Wed 2022-09-21 03:30:00 SAST, use 'shutdown -c' to cancel.

It’s critical to use the -r  flag because otherwise you’ll have to power on the server.

Reference

https://serverfault.com/questions/57479/how-do-i-schedule-a-reboot-on-linux

 

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top