G Gabriel9999 Member Joined Mar 12, 2019 Messages 38 Reaction score 4 Credits 130 May 12, 2020 #1 How can I shutdown the system after 3 minutes automatically.
Vrai Well-Known Member Joined Mar 16, 2019 Messages 1,085 Reaction score 1,050 Credits 4,227 May 12, 2020 #2 I seem to recall that the 'shutdown' command has a timer. Or do you mean without any human interaction at all? Perhaps a 'cron job' would do it.
I seem to recall that the 'shutdown' command has a timer. Or do you mean without any human interaction at all? Perhaps a 'cron job' would do it.
I in1t5 New Member Joined May 13, 2020 Messages 13 Reaction score 4 Credits 121 May 13, 2020 #3 Code: sudo crontab -e Depending on the implementation of cron shipped with your distro, this might not work after an hard shutdown, bot on most systems, it will: Code: @reboot /path/to/shutdown +3
Code: sudo crontab -e Depending on the implementation of cron shipped with your distro, this might not work after an hard shutdown, bot on most systems, it will: Code: @reboot /path/to/shutdown +3
samuel tarcin New Member Joined Mar 6, 2019 Messages 24 Reaction score 11 Credits 48 May 18, 2020 #4 You can use the shutdown command + option like below. $ sudo shutdown -h +3 Reference: https://www.poftut.com/shutdown-linux-system/
You can use the shutdown command + option like below. $ sudo shutdown -h +3 Reference: https://www.poftut.com/shutdown-linux-system/