Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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/script.py

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

 
discard

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.