Python Forum
Getting an .exe to run from Task Scheduler - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Getting an .exe to run from Task Scheduler (/thread-22990.html)



Getting an .exe to run from Task Scheduler - fioranosnake - Dec-06-2019

Hi,

I have created an exe using pyinstaller.

The exe runs just fine if I run it manually. However, If I try and schedule it using a basic task in Task Scheduler then it doesn't run at all.

any thoughts....

Thanks

Fiorano


RE: Getting an .exe to run from Task Scheduler - Malt - Dec-06-2019

Any error you are getting?


RE: Getting an .exe to run from Task Scheduler - DeaD_EyE - Dec-06-2019

Take a look into the event log viewer of Windows. There should be an entry about the started service and errors.
Maybe a path is wrong.