Forums

Confirm Google Oauth2 - scheduled task

Hi, I have a task:

/home/jjbg/.virtualenvs/venv_dzien_dobry/bin/python /home/jjbg/skrypty_solari/dzien_dobry/myscript.py

When I manually run script - it's working. Script loads credentials.json and token.json.

When I run task I have command in running tasks: www-browser [example googlelink]. Www-browser not supported JS and I cant authorize connection with Google. What can I solve this problem?

Problem solved.

You must enter the absolute path to the file credentials.json and token.json.