Apr-08-2021, 09:26 PM
I added a
time.sleep(580)near the end to see if that will do it. That should keep the light on for all but a few seconds of each time it is run. It accomplishes pretty much the same thing as a loop, but the looping is controlled by the crontab file.