How to run a script at start-up on a Raspberry Pi using crontab #piday #raspberrypi @Raspberry_Pi
via RaspberryPi.org
While there are many ways of asking your Raspberry Pi to run a script on start-up, crontab -e is definitely one of the easiest.
AND, as Estefannie explains (in part thanks to me bugging asking her to do so), if you create a run folder on your desktop, you can switch out the Python scripts you want to run at start-up whenever you like and will never have to edit crontab again!
Weeeeee!
Now go write some wonderful and inspiring festive scripts while I take a well-earned nap. I just got off a plane yet here I am, writing blog posts for y’all because I love you THAT DARN MUCH!
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!