Jump to content

Change 'Restart Application' script


Brandon B

Recommended Posts

Hey there. One of our previous techs who was really skills wit Powershell poofed on us. We have a lot of system thats we are needing to change. Within Windows Settings for Pulseway -> Properties -> Recovery, we have First Failure -> restart the service, 2nd failure -> Restart the service , subsequent failure : Take no Action. After the 3rd failure the service stops trying to restart. Am Needing a PW script in which we can change the 'subsequent failure' : Restart the Service. Any thoughts?

Edited by Brandon B
Link to comment
Share on other sites

  • Staff

Hi Brandon,

If the Pulseway service fails to start at startup, then at first you will need to look for the entries related to the Pulseway service into the Windows event log -> System and find out why the . If the message from Service Control Manager is that the Pulseway service failed to start in 30 seconds or didn't respond in a timely manner, then you can try to increase the startup timeout by running built in script 'Increase Windows Service Timeout at Startup' (You can adjust the timeout interval. In this script it is set to 60000ms [60 seconds]). Our customers get the best results if they set the timeout to 9000 (90 seconds), but you will need to test it.

Also. please check other windows event log logs, whether there are no other event entries related to the Pulseway service at the startup.

 

But if the Pulseway service is running and suddenly stops, then please enable diagnostic logging from the Pulseway Manager -> Settings -> Diagnostic and then send the trace.log file from the Pulseway's installation folder to support@pulseway.com.

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...