I am trying to automate a Python script on a Google Cloud VM using Crontab.
When I run
python Daily_visits.py my code runs as expected and generates a table in BigQuery.
My Crontab job is as follows:
*/2 * * * * /usr/bin/python Daily_visits.py but generates no output.
which python and I get
/usr/bin/python back, and I have run
chmod +x Daily_visits.sh on my file, what else am I missing?