python 2.7 - Python27 to upload a file to google drive does not work when run as a windows scheduled task. Why? -


i had similar issue when python script called scheduled task on windows server tried access network shared drive. run idle on server not task. switched using local drive worked fine. script works if run console or idle on server , partially executes when run scheduled task. pulls data mssql database , creates local csv. works called task part upload file google drive not. have, did, before try other methods of calling outside of scheduled task ex powershell, bat file... same results. using google-api-python-client (1.6.2) , can't find anything. in advance!

i found answer. in optional field of windows scheduled task action dialog, "start in" added path python scripts folder , script runs perfect.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -