cancel
Showing results for 
Search instead for 
Did you mean: 

How to check listener is stopped, by viewing Event log of Windows

AkhilThukral
Level 3
HI,

We have a chatbot which is consuming the web service of the exposed process, to ensure it works every time, we have to be ensured about the listener should be up, So we are looking mechanism, we can help us to identify that the lister is working or stop at the moment. If it does then we will run the batch file to run it again automatically through windows script.

------------------------------
Akhil Thukral
Application Development Module Lead - Blue Prism
Telus International
Asia/Kolkata
------------------------------
1 BEST ANSWER

Helpful Answers

JohnCowell
Staff
Staff
Hi Akhil,

You may find the attached sample PowerShell script useful for this. This was designed to run at regular intervals and check the Windows event log for certain conditions and then restart a resource after clearing temporary files. You could use this as a template for your own requirements and modify as required.

This was kindly donated by another customer who thought it may be useful for others.

------------------------------
John Cowell
Senior Software Support Analyst
Blue Prism
------------------------------
John Cowell Senior Software Support Analyst Blue Prism

View answer in original post

1 REPLY 1

JohnCowell
Staff
Staff
Hi Akhil,

You may find the attached sample PowerShell script useful for this. This was designed to run at regular intervals and check the Windows event log for certain conditions and then restart a resource after clearing temporary files. You could use this as a template for your own requirements and modify as required.

This was kindly donated by another customer who thought it may be useful for others.

------------------------------
John Cowell
Senior Software Support Analyst
Blue Prism
------------------------------
John Cowell Senior Software Support Analyst Blue Prism