Home > Blockchain >  How to run a python made .exe on a repeated schedule in Windows 10?
How to run a python made .exe on a repeated schedule in Windows 10?

Time:08-26

I have a GUI based.exe, which I made using Python auto-py-to-exe (one folder method), and I want the application to run up after every 10 minutes or so. It is working when I click on it manually.

I have tried using task scheduler in windows to do that, but it is not exactly executing the application as I cannot see anything on screen. Any ideas how to do it?

CodePudding user response:

Not answering directly the question but maybe still solving your problems. To run python scripts on schedule i usually write a .bat script that gets executed by task scheduler. The bat script has to have the full length python path for the invocation and the full path of the .py file.

I think it's possible to use the same strategy to run exe files, so you could try using a .bat that targets your exe instead of targetting the exe directly in the task scheduler.

  • Related