Skip to content

Instantly share code, notes, and snippets.

@FrankFang
Created January 13, 2017 05:51
Show Gist options
  • Save FrankFang/7b5506720f4f1c600b87397ba2f36f2b to your computer and use it in GitHub Desktop.
Save FrankFang/7b5506720f4f1c600b87397ba2f36f2b to your computer and use it in GitHub Desktop.
@reboot auto run at start
https://askubuntu.com/questions/814/how-to-run-scripts-on-start-up/816#816
One approach is to add an @reboot cron task:
Running crontab -e will allow you to edit your cron.
Adding a line like this to it:
@reboot /path/to/script
will execute that script once your computer boots up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment