Skip to content

Instantly share code, notes, and snippets.

@tongphe
Last active August 21, 2018 09:02
Show Gist options
  • Save tongphe/da2a82220fcc0556ba756ec55aab0d18 to your computer and use it in GitHub Desktop.
Save tongphe/da2a82220fcc0556ba756ec55aab0d18 to your computer and use it in GitHub Desktop.
Linux subsystem autostart
  • Allow sudoer able to run services without password
  • Add a .bat file to Schedule Tasks
@echo off
bash.exe -c "sudo service ssh start"
bash.exe -c "sudo service crond start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment