Shutdown timer
A web page cannot turn off your computer. Here you make the command that does, and run it yourself. Choose the time and the action, and copy the command for your system.
Windows
shutdown /s /t 3600Press the Windows key and R, paste the command and press Enter.
Cancel with shutdown /a
macOS
sudo shutdown -h +60Open Terminal, paste the command and press Enter. You need to type your password.
Cancel with sudo killall shutdown
Linux
shutdown -h +60Open a terminal, paste the command and press Enter. On some systems you need to put sudo in front.
Cancel with shutdown -c
On macOS and Linux the time is rounded up to whole minutes.
How to turn off your computer after a set time
- Choose whether the computer should turn off after a certain time or at a set time, and whether it should shut down or restart.
- Copy the command for your system and run it as described under the command.
- If you change your mind, run the command after “Cancel with” before the time is up.
Questions and answers
Can the web page turn off my computer?
No. Browsers do not let web pages shut down or restart the computer. That is why the page makes the command, and you run it yourself.
How do I cancel?
Run the command after “Cancel with” before the time is up: shutdown /a on Windows, sudo killall shutdown on macOS and shutdown -c on Linux.
Will open programs be closed?
Yes. When the time is up the programs are closed, and work that has not been saved can be lost. Save what you are working on before you leave the computer.