How to delay shutdown in Devuan Linux?

Written by Administrator on Thursday April 30, 2020

Shutdown delay in Devuan Linux is made the same way as shutdown delay in other Linux distros. The only thing you have to do is to run "shutdown" comman with proper parameters. This is very easy. For example this command will delay system shutdown for 20 minutes:

$ shutdown +20

In case you want to delay shutdown for 2 hours, you run:

$ shutdown +120

This is simple thing: just set a number of minutes.

If you know the precise time you want your system to shutdown, just type the time in 24 hours format:

$ shutdown 17:30

But you should keep in mind that time is set up for your system. In case you are setting up shutdown time on your server, ensure, that clients have the same time on their working stations, otherwise there will be time discrepance in time.

Who is shutdown delay is suitable for

System shutdown can be useful in case you're planning system upgrade, but you have loggen in user who are still working in your system. Let them finish their work and give a chance to log out.

Not a very popular scenario, but sometimes you need to power off the system after shutting down. Then, run a shutdown command with following parameter:

$ shutdown -P now

It will shut down your system and then power off it.

Category: linux Tags: shutdown devuan