- Why are you importing time if you're not using it?
- We don't know if your code is, in fact, running. It looks simple enough but you never know...
Try changing your crontab entry to the following, let it run, then check the log file for errors.Code:
*/1 * * * * python3 /home/pi/redon.py 2>>/home/pi/redon.log
Statistics: Posted by thagrol — Mon Nov 11, 2024 1:42 pm