Schlagwort: startup

  • How to run a script at start-up on a Raspberry Pi using crontab

    How to run a script at start-up on a Raspberry Pi using crontab

    Reading Time: 2 minutes

    Do you need to run a script whenever your Raspberry Pi turns on? Here’s Estefannie to explain how to edit crontab to do exactly that.

    How to start a script at start-up on a Raspberry Pi // LEARN SOMETHING

    Do you want your Raspberry Pi to automatically run your code when it is connected to power? Then you are in the right place. In this new #LEARNSOMETHING video I show you how to make you Raspberry Pi run your script automatically when it is connected to a power source.

    Running script on startup

    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!

    A fluffy cat

    This is Teddy. Teddy is also in the video.

    And don’t forget to like and subscribe for more Estefannie Explains it All goodness!

    Website: LINK