Skip to content

Instantly share code, notes, and snippets.

@profnandaa
Last active August 15, 2017 18:03
Show Gist options
  • Save profnandaa/87f1b2daf130aafed355f32b19cddf08 to your computer and use it in GitHub Desktop.
Save profnandaa/87f1b2daf130aafed355f32b19cddf08 to your computer and use it in GitHub Desktop.
Server Recipes

One approach is to add an @reboot cron [1] task:

  1. Running crontab -e will allow you to edit your cron.

  2. Adding a line like this to it:

     @reboot /path/to/script
    

    will execute that script once your computer boots up.

[1] http://en.wikipedia.org/wiki/Cron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment