Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's the standard way of adding a python script to Ubuntu startup?

share|improve this question
Do you want to run a script, or start a service? – Paul Nov 4 '13 at 2:42

The absolute easiest way is to add an @reboot entry to your crontab with crontab -e:

# m h  dom mon dow   command
@reboot    /path/to/some/

See man 5 crontab for more details on the crontab syntax.

Or you could instead write an upstart job and drop it in /etc/init/.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.