One approach is to add an @reboot cron 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.