Aug-17-2023, 04:10 PM
So now that i have finished a script, it works great on my local machine, but need to be able to run the script using the python.exe that they have placed on the network and they will schedule it to run on a schedule.
I found one reference to something like this :
"I:\programs\python\python.exe" "DashboardValues.py"
But when i run this in a command line or from a batch file, it opens a command prompt, but then closes and never updates/generates the csv file its suppose to.
If i execute from my local python instance, it works as expected.
I need to find a way to execute my script via the network share path of python.exe
Any suggestions? And no creating a exe of the script will not work, they are saying this has worked in the past but cant seem to find the proper way to call it.
I found one reference to something like this :
"I:\programs\python\python.exe" "DashboardValues.py"
But when i run this in a command line or from a batch file, it opens a command prompt, but then closes and never updates/generates the csv file its suppose to.
If i execute from my local python instance, it works as expected.
I need to find a way to execute my script via the network share path of python.exe
Any suggestions? And no creating a exe of the script will not work, they are saying this has worked in the past but cant seem to find the proper way to call it.