On a google Cloud Ubuntu VM, I have setup few crontab like below :
0 15 * * * sudo /home/username/bin/python /home/username/project27/scheduler/batch.py &>> /home/username/project27/scheduler/log_batch.txt 1) Crontab worked if I remain login in SSH session. 2) As soon as I close the SSH session the crontab job is not launched.
What's wrong with this ?
How to find the issue ?