AmazingMartin
Posts: 1
Joined: Tue Apr 22, 2014 11:33 pm

Auto program start

Tue Apr 22, 2014 11:50 pm

Hello,
I did a quick search on here to see if there was something covering this topic, but I did not find what I was looking for.
So here it goes.
I am working on having my RPi send a live video streaming image back to my laptop through my wifi.
I am trying to get the video streaming program to automatically start on boot. I am using SimpleCV and wrote a small script which, as of now, I have to manually run from a terminal window.
I have worked a little with Crontab to get a "halt" & "reset" button to work, but am really lost with this venture.
Thank you in advance for your time and brain power.
Martin.

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Auto program start

Wed Apr 23, 2014 3:03 am

cron can do it.
/etc/rc.local is another option.
There are more options, and google can explain more thoroughly.

Note: When googling for Raspberry Pi stuff, unless it involves the GPIO, you probably don't need to include "raspberry pi" in your search terms. Debian and Ubuntu work very similarly to Raspbian, and for most things Red Hat and Fedora do too. (Most notable exception: They use a different package manager.) You'll find far more expertise online pertaining to Debian than to Raspbian for questions such as this, just because it's been around longer and has a much larger user base. Nothing against Raspbian or Pi users, but if you want a tutorial on setting something up you'll probably find more Debian tutorials.

Return to “Automation, sensing and robotics”