I am trying to run two Python programs at reboot with my Raspberry Pi 3. The problem is that crontab doesn't run at reboot.
I tried to run the programs with crontab every 5 minutes and everything went correct.
This is working:
*/5 * * * * python /home/pi/Desktop/Telegram/pyTelegramBotAPI/ComandosRes.py */5 * * * * sudo python /home/pi/Desktop/Telegram/pyTelegramBotAPI/Correo+.py
This is not working:
@reboot sudo python /home/pi/Desktop/Telegram/pyTelegramBotAPI/Correo+.py @reboot python /home/pi/Desktop/Telegram/pyTelegramBotAPI/ComandosRes.py
Any idea or suggestion is welcomed. Thanks in advance!