August 2, 2013 AT 12:01 am
Running A Python Script At Boot Using Cron @Raspberry_Pi #piday #raspberrypi
There may be times when you want to run a Python script when your Raspberry Pi boots up. There are a number of different techniques to do this but I prefer the method that uses “cron”.
Cron is a job scheduler that allows the system to perform tasks at defined times or intervals. It is a very powerful tool and useful in lots of situations. You can use it to run commands or in this case, a Python script.
Code and more
Each Friday is PiDay here at Adafruit, be sure to check out our
Raspberry Pi related products.
Have you tried the new
“Adafruit Raspberry Pi Educational Linux Distro”
? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more!
Try our new Raspberry Pi WebIDE!
The easiest way to learn programming on a Raspberry Pi.
We now have
Raspberry Pi Model B with 512MB RAM in stock and shipping now!
Join 4,000+ makers on
Adafruit’s Discord channels and be part of the community! http://adafru.it/discord
How Computers Work” with Bill Gates, Ladyada and more – From Code.org !
CircuitPython in 2018 – Python on Microcontrollers is here!
Have an amazing project to share? Join the SHOW-AND-TELL every
Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for
Ask an Engineer!
Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/ Maker Business — Pololu’s New Machines Wearables — Mystical elements Electronics — Disable unused channels! Biohacking — Two Blood Meters to Start Your Biohacking Adventure
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at
No comments yet.
Sorry, the comment form is closed at this time.