I've created a project in Pycharm that is composed by 3 py scripts and requires a json file with authentication parameter to read files coming from google drive and finally a file to manipulate data in a sqlite table create on the fly.
That works super good in my computer and the server (windows server 2016 standard edition). I need to execute this program(script) whole days so I've tried with the script.py using cmdExec in SQL and Windows scheduler manager and it doesnt work. otherwise if manually in the server I perform double click that runs.
I realized that when i run the script manually the execution is C:\path of folder where is the script> C:\whole path again\script.py
Otherwise from windows scheduler is always: C:\windows\system32> C:\whole path again\script.py
How force to fix this path or probably if I can create a .exe of my project in pycharm that could work. But I've not found too much info about how follow this process. do you know guys what or which should be the right way to achive my propose guys? thanks so much