property AppAutoRestart.
Features app or script with resilience
from abnormal or unwanted exit, by restarting it automatically.
Moreover, you can configure a mail-list (each mail separated by
‘,’) into a text file named ScriptEZ_MailList.txt,
so he/she or they will
be notified by mail about app abnormal exit event. The Alerting Mail is
formated as following:
ScriptEZ.API
version: <number of the
version>
Computername: <hostname
+ IP address>
CPU/Core(s): <Number
of CPU(s) or Core(s) used into a computer >
AppName
to restart: <Fullpath name of the app to restart with
its existing command line options>
Windows
OS version: <Windows
name>
Global
Used Memory: <Percentage of global used memory + Total
memory size>
App Used
Memory: <App used
memory + percentage>
Official
Web Site : http://sites.google.com/site/scriptezapi
/!\ To make
this work, the ScriptEZ_MailList.txt
file must be in the same folder as the registered ScriptEZ.dll
file.
|
commandLine
[in,defaultvalue("")]
. Optional parameter when app or script restarts
again. If omitted, default command line will be used.
pVal
[out, retval]
. The returned value is a watchdog process identifier
which monitors current app or script
S_OK
The operation was successfull.
E_POINTER
A NULL pointer was supplied as an argument.
E_UNEXPECTED
An unexpected error occoured.