Code:
0 22 1-12 * * pyton3 /home/pi/NOIR_Solar_Meter_Camera.py
As pointed out, there's a typo in there.
I can run the same program perfectly from Thonny.
That doesn't help us help you. Well not very much. The environment under thonny is very different to the environment under cron. All that really says is that the difference is significant. Or that the typo is in your crontab.
I suggest you fix the typo then read and apply the troubleshooting advice in Cron – A Beginner's Guide then come back here with the actual error(s) being thrown and tell us which user's crontab you have used.
Statistics: Posted by thagrol — Tue Jan 30, 2024 4:31 pm