Timeline for How to use Raspberry Pi and Pi camera standalone like Arduino?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:56 | history | edited | CommunityBot |
replaced http://raspberrypi.stackexchange.com/ with https://raspberrypi.stackexchange.com/
|
|
Oct 4, 2016 at 1:44 | comment | added | goldilocks♦ |
Sure, just make sure, as per that linked post, that whatever it is forks into the background. You can do that in the python script but it is probably easier to just use & at the end in rc.local (beware in shell scripts & is also used together with > for a completely different purpose). You can try that out on the command line to get the idea. The reason for this is the rc.local script itself must complete in a few seconds, so you can't do things there that take a long time. But if they exit into the background, they can last there forever.
|
|
Oct 4, 2016 at 0:46 | comment | added | Mat_python | Great. Thank you. So after the auto execution command added into /etc/rc.local, can I make that code run 'forever' (until battery lasts)? | |
Oct 4, 2016 at 0:44 | vote | accept | Mat_python | ||
Oct 3, 2016 at 18:49 | history | edited | goldilocks♦ | CC BY-SA 3.0 |
added 38 characters in body
|
Oct 3, 2016 at 18:41 | history | answered | goldilocks♦ | CC BY-SA 3.0 |