Skip to content

Instantly share code, notes, and snippets.

@zdovcj
Last active August 11, 2020 09:29
Show Gist options
  • Save zdovcj/c7979240f058f76b4f3a46d4159e479d to your computer and use it in GitHub Desktop.
Save zdovcj/c7979240f058f76b4f3a46d4159e479d to your computer and use it in GitHub Desktop.
shutdown -h doesn't work in combination with -t, so this is the workaround
timeout /t 36000 /nobreak & shutdown /h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment