This InkyPhat is a really cool device. However, Crontab won’t run it for some reason. I have it currently set up to run every 1 minute and at reboot. This is just to test it out, I’ll eventually set it to every 10 minutes. This is sudo’s crontab:
*/1 * * * * python /home/pi/Pimoroni/inkyphat/examples/weather.py
@reboot python /home/pi/Pimoroni/inkyphat/examples/weather.py
I suspect crontab doesn’t know how to look in the /resources file for the backdrop.png file because if I run from my shell:
$ sudo python /home/pi/Pimoroni/inkyphat/examples/weather.py
it tells me:
IOError: [Errno 2] No such file or directory: ‘resources/backdrop.png’
Can anyone help me correct this please?