

                              SENTRY v2.00





Sentry is a REXX program used to check to see if certain
programs are running. If any of the programs aren't running it
will start a specified program (with arguments as needed) for
each failed program. It is useful for machines that must always
run certain programs for example a BBS system.

 

You can use Sentry multiple ways.



Usage 1:



Start Sentry as follows:



           Sentry argument1 argument2



The first argument is the name of the program to look for as it
is displayed in windows accessed by pressing the 'Add watch'
button in Sentry.



The second argument is the full path and file name (with
arguments) to run if the first argument is not found running.



For example:



           Sentry trial.exe c:\test\trial.exe /s /p



Usage 2:



Make sure the program you want to watch is running. Start Sentry
without any arguments. Click on the 'Add Watch', a new window
will come up. At the top is a pull down menu showing everything
the systems shows as running. It also included hidden processes.
Pick the program you want Sentry to watch over from the list. In
the entry field near the bottom of the page type in the full
path and file name with any needed arguments to the file you
want to run if the watched program stops running. 



The check box to the side will allow you to make Sentry only
start the new program once. This is useful if the program you
are starting is not the same as the program that you had Sentry
watching. 



Press OK when you have all the info filled out. If the path and
file to restart is not valid Sentry will beep at you and have
you reenter that information.



You can add multiple programs to look over this way. You can
also start Sentry using Usage 1 above and add more programs to
watch as well.



________________________________________________________________

INSTALLING SENTRY



REXX support must be installed for Sentry to function.



This program requires the included RXEXTRAS.DLL to function. It
needs to be moved to x:\OS2\DLL or any other directory where the
LIBPATH in the Config.sys points to.



Also you need to set AUTOFAIL=YES in the CONFIG.SYS and then
reboot the system. That will keep the system from displaying
SYSxxxx errors when any program crashes. This MUST be in the
CONFIG.SYS for Sentry to function correctly. Other wise if the
program you are watching crashes it will still appear to Sentry
to be running until you choose to end it from the pop-up SYSxxxx
error message.

________________________________________________________________



NOTES:



Sentry will not detect when a program is hung up or in a loop.
As far as it is concerned it is still running. 



Sentry can only tell when a program crashes from a SYS error or
when a program exits on it's own.



You can adjust the amount of time Sentry waits before rechecking
to see if a file is running by using the setting on the main
page.



You can make Sentry start multiple programs when a program ends.
To do this just 'Add Watch' as many times as needed with the
same watched program but different programs to run.



Sentry is a FREEWARE program. But please send me e-mail if
Sentry is useful for you or if you have any questions, comments
or rude remarks. 





Shawn Fogg (Team OS/2)

SFOGG@IBM.NET





