0
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 ?
encrypted home? + the concerns stated in the answer bellow ... – Jakuje – 2017-07-04T13:54:16.690
Looked in /var/log/cron ? – barrycarter – 2017-07-04T15:02:40.683
yes, looked in cron log – quantCode – 2017-07-05T00:41:13.883