I'm looking for a program/utility to monitor a process running in Windows 7 (actually it's a Java process ran from .jnlp). and that can send an e-mail alert or trigger any kind of script so I can be aware that it has crashed ?

From what i've seen there's nothing like that.

Any ideas ?

tasklist | find "java.exe"
IF %ERRORLEVEL% EQU 1  blat.exe ---
sleep 10
goto :begin

you'll need blat.exe whick most used tool for sending mails via batch scripts sleep should be built-in windows 7. But this will work only if you have only one java.exe running... You can use some external tools to start a process and its PID for maximum usability

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.