Hi,
I have a script that runs fine from bash, but when I try to schedule it, it does not work. log gives message: 2022-12-06 20:20:10 -- Completed task, took 5.01 seconds, return code was 0.
and: /usr/local/lib/python3.9/site-packages/oauth2client/_helpers.py:255: UserWarning: Cannot access ./credential.json: No such file or directory warnings.warn(_MISSING_FILE_MESSAGE.format(filename))
I don't understand how it is possible that it runs from bash, but not from task scheduler. Could it maybe be an issue with different environments?
cheers Thomas