HiTek Software Home
 
Title Starting Engine on Unix system startup
Date Updated 12/08/2005
Versions affected Automize 5.x+, All other 6.x+ products
OS affected Unix
Description User needs to start the scheduler engine when System startsup
Causes -
Solution This procedure is detailed and tested for RedHat Linux 9.0.  The procedure will be similar, but may not be exactly the same on your unix system:

1) login as root and backup the following file:
/etc/rc.d/rc.local

2) Edit the file rc.local and add the following lines to the end of the file:
cd /../../Automize   (Automize folder)
jre/bin/java -cp .:NetComponents.jar:activation.jar:mail.jar:jclasses.jar:inputs JSEngine &

OR: if you installed the java machine separately, use
java -cp .:NetComponents.jar:activation.jar:mail.jar:jclasses.jar:inputs JSEngine &

3) Save the file.

4) Run this script file manually from the command line.  Confirm that the Automize engine starts running.  

5) IMPORTANT: Also, ensure that the command prompt is returned.  The & at the end of the launch command makes sure that the Automize scheduler engine runs in the background.  This makes sure that your system will not hang on startup waiting for Automize scheduler engine to return.

 

Output Log -
Debug Log