I have a python script - automation.py - that creates a csv from an API report. It works fine when I call the file from the console (python automation.py). However, when I try scheduling the file itself or a bash file that calls it, I don't get the csv output, despite stating that it runs fine.
Also, when I run the bash file from a terminal, it works as well and generates the csv.
Any thoughts here?