Jump to content

restart a service rule


Recommended Posts

  • Staff

Hi Rasmus,


The only supported condition for services in the Rules system is service status which includes:

  • Stopped
  • Started
  • Paused
  • Pausing
  • Starting
  • Stopping

If you want to restart a windows service if it's using less than 0.5% of the CPU you could do a simple C# plugin that reads a performance counter for a process and restarts the service (read cpu usage performance counter - link and restart a windows service - link).




Pulseway Supoprt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...