Schedule Shutdown In Fedora, Redhat, CentOS Linux

Q: How to schedule a shutdown in CentOS, Redhat, Fedora linux?

      Scheduling a shutdown is a simple task in RPM based Linux distributions like Redhat, CentOS, Redhat, etc. You can schedule a shutdown with the help of "shutdown" command. with "Time" options.

Here is the command to schedule a shutdown at 22:40 (24hr format). The Linux server will do an automatic shutdown/halt at 22:40 with a sample output of the command.

[root@server ~]# shutdown -h 22:40

Broadcast message from root@server
        (/dev/pts/0) at 22:30 ...
The system is going down for halt in 10 minutes!

How to cancel a pending/Scheduled shutdown in Linux
[root@server ~]# shutdown -c

Was this helpfull ?


Related Posts Plugin for WordPress, Blogger...

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