A
A
Anton Bulkin2019-01-22 11:17:59
Yandex.Disk
Anton Bulkin, 2019-01-22 11:17:59

How to restart a process if it shuts down or crashes with an error?

Welcome all.
And so, there is WinServer 2016, Yandex.Disk is installed on it and is trying to upload, approximately, one and a half terabytes of data to the cloud. So, once every 5-6 hours, Yandex.disk devours all the server memory and finally finishes off the processor, and Windows, of course, kills it.
So, how to make it so that when you turn off the process, it starts again?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danil, 2019-01-24
@wulxgarnyj

Set the task scheduler to start the disk every 5 minutes and on the options tab, select "Do not start a new instance of the task if the task is already running."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question