I have monitor service programmed in Python. Which checks status of windows service whether running or Stopped. Working fine. But Some times windows service is not responding. even though service is running.
Now I want to modify my Python program in such a way that, it will check
- Whether Windows service running or not (Already implemented)
- If service running I want to call a custom method of windows service from Python. Incase method not responding, I may log or restart service.
How can I call public method of Windows service using python.
Thanks for Help.
Naresh