I
I
Ivan Yakushenko2019-05-28 00:17:19
Python
Ivan Yakushenko, 2019-05-28 00:17:19

Restarting python app on windows server?

How can I make it so that if the python application terminates, it will automatically start again? In the task scheduler, there is only an option to launch the application, but nothing about restarting.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-05-28
@CrazzyDi

Alternatively, write a script that starts your application in a separate process and keeps track of its pid.
If the pid of your application is gone, then it starts again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question