A
A
Andriy Kondratiev2014-05-13 14:39:39
Windows
Andriy Kondratiev, 2014-05-13 14:39:39

How to track the sudden stop of the application?

There is a self-written program that runs on a remote computer and performs certain functions. Sometimes the program crashes with an error, and you never know when it will happen:
d2fcccba6010470c9bb4d7714029d6ba.jpg
And then I connect via teamviewer and manually restart it. The program is primitive, it does not write to the logs, but it is important to know when the failure occurred.
So the question is: is there any good program to monitor the status of other programs? Maybe some way to keep track of the title of the window? In any case, I need to know when the program stopped. And it would be nice if I learned about this event by mail.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nfire, 2014-05-13
@nfire

For example, in Windows 8 logs, you can bind a scheduler task to an event already in which you can configure sending a letter.

N
Nomadic, 2014-05-13
@n0madic

Write a script in AutoIt! in a few lines, something like:

While 1
  WinWait("DataMover.48.exe - Ошибка приложения")
  WinClose("DataMover.48.exe - Ошибка приложения")
  Run("DataMover.48.exe")
  _INetSmtpMail(...)
WEnd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question