Hi all
I'm trying to start a python script, whenever my RasPi reboots. The script only sends me an email, to inform me the pi has restarted.
I've put the line "@reboot sudo python /home/pi/sendmail.py" in crontab, and this won't work... All of the command line is correct, because when I change the line to "* * * * * sudo python /home/pi/sendmail.py", it sends me the email every minute when the pi is on...
So I think there is something wrong with the @reboot command...
any ideas please?
thanks in advance!
Kind regards
Stijn