Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 PowerShell

Author  Topic 

Randy Everett
Starting Member

1 Post

Posted - 2009-09-24 : 17:31:42
Not really a SQL Server question but if I get a solution I will possibly use it on my SQL Servers as well. I read a post that talked about using Powershell to monitor SQL services and issue an email if the SQLAgent stopped running. I have a couple of java apps that I need to do the samething. The process is javaw.exe on both applications but they each have different window titles. I can issue a TaskKill based on the windowtitle but haven't figured out how to monitor the process. This particular process needs to be up and running at all times and I need to know if java decides to just shut down. Any help would be much appreciated.

Thanks in advance.

Randy
   

- Advertisement -