Schedule Restart/Roboot in Redhat, CentOS, Fedora Linux

FREQUENTLY ASKED QUESTIONS (Linux)
Q: How to schedule a restart or reboot in Fedora/CentOS/Redhat linux?

You can schedule a restart or reboot with "shutdown" command with reboot option (-r). Here is the command to schedule a reboot at 16:50 (Always use 24hr time format) with a sample output of the command.

[root@server ~]# shutdown -r 16:50
Broadcast message from root@server
        (/dev/pts/0) at 16:30 ...

The system is going down for reboot in 20 minutes!

How to cancel a scheduled restart
[root@server ~]# shutdown -c

0 comments:

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons