Hello, I have a python script that makes calls to an API and updates some LEDS based off of the data received from the API continuously. I would like to run this script after the Raspberry pi turns on and have it keep running continuously. However, I tried the crontab method and it wasn't working at all. I am thinking it is because it takes time for the Rpi to connect to the internet on start up and this causes the program to quit before it can begin. Is there anyway to run my script indefinitely after the Pi boots up and connects to the internet?
Statistics: Posted by deri9928 — Sun Sep 29, 2024 9:37 pm