Thứ Bảy, 29 tháng 9, 2018

ubuntu.common #7 shutdown timer


116
down voteaccepted

Scheduling a shutdown

To shutdown run the command:
sudo shutdown -P +60
That will wait 60 mins before starting the shutdown sequence.
You could do:
sudo shutdown -P 1:00
to shutdown at 1 AM and
sudo shutdown -P now
to shutdown now.
A message is broadcast to all terminals to warn about the shutdown.

Cancel a pending shutdown

After, starting a shutdown, if the time argument is not "+0" or "now", you can use:
sudo shutdown -c 
to cancel the scheduled shutdown.

Không có nhận xét nào:

Đăng nhận xét