This question already has an answer here:

I am using a Raspberry Pi running Raspbian to power a reception screen, which is just a simple web page running fullscreen.

I would like this screen to load whenever the machine is booted, so that if the machine is reset after a powercut etc it will automatically load back up again.

How do I go about setting the web browser (Chromium) to load on bootup?

marked as duplicate by syb0rg, lenik, Impulss, Butters, nc4pk Sep 8 '13 at 21:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The easiest answer would probably be a cron job with a @reboot flag.

Run the command: crontab -e and at the bottom add @reboot my important command here.

If you're looking at something more complex you'll definitely want to look at creating a full on init script, but for your purposes I think cron should be good enough.

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