Jump to content

Recommended Posts

Posted

Hi Guys,

I have a script, when i am running it ,automatically it install and will become a service.

I want to set the process recovery options automatically. Like if the service exe got closed i want to relaunch it automatically. Is it possible to do ?.

Thanks!!

Posted

Hi Guys,

I have a script, when i am running it ,automatically it install and will become a service.

I want to set the process recovery options automatically. Like if the service exe got closed i want to relaunch it automatically. Is it possible to do ?.

Thanks!!

You need to have 2 processes running. If one stops the other starts it again.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Posted (edited)

Could he not use Opt("OnExitFunc", "ReLaunch") and have the ReLaunch function opening the process that hes already running?

I suppose this would only work by manually closing the process, and not if it crashed and couldnt execute the exit function, but.

Edited by Demonic

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