In my raspberry I'm using the following crontab to start two services at startup. The first one works fine but the second one doesn't (even though it works fine when I launch it manually). Any suggestions what could be causing this are highly appreciated.
# m h dom mon dow command
0 * * * * python pythonprojects/temperature_sensor/read_temperature.py
@reboot sudo /usr/local/bin/pigpiod
@reboot sudo /usr/bin/autossh -M 20005 -N -T -R22222:localhost:22 -i ssh-ec2/ec-key.pem ec2-user@xx.xx.xx.xxx