Back to Index

Using the CommandLine Module

You can control the scheduler engine using the Commandline Module (CLM) via Telnet (or rlogin, ssh etc..).

Windows:
1.  Open a DOS command window.
2.  Telnet to the remote system where the program is installed
3.  'cd' to the main install folder (Example: cd "c:\program files\hiteksoftware\automize" or cd "c:\program files\Automize")
4.  The main install folder includes the following file: clm.bat
5.  Use following command to verify that clm is setup correctly: clm ? .  If clm is setup correctly, you will get a listing of all commands.

NOTE:  You may get the following error: "The system cannot find the path specified".  This means that you do not have the Java machine installed into the main install folder.  You probably used the zip installer and are using a 'java' machine which is in your system path.  In this case you will have to edit 'clm.bat' and replace the commandline:
jre\bin\java -Dpass="%pass%" -cp .;hitek10.jar com.hitek.gui.CLM %*
with:
java -Dpass="%pass%" -cp .;hitek10.jar com.hitek.gui.CLM %*

Unix & MacOSX:
1.  Open a Terminal window.
2.  Telnet to the remote system where the program is installed
3.  'cd' to the main install folder
4.  The main install folder includes the following file: clm
5.  Run the command: chmod +x clm
6.  Use following command to verify that clm is setup correctly: ./clm ?  .  If clm is setup correctly, you will get a listing of all commands.
7.  You can add the appropriate shell header line to the file 'clm' to avoid having to type in './' everytime you run a command

NOTE:  You may get a "command not found" error.  This means that you do not have 'java' in your system path.  You probably used the Install including 'JVM' and have the Java machine (jre folder) installed into the main install folder.  In this case, you will have to edit 'clm' and replace the commandline.
java -Dpass="%pass%" -cp .:hitek10.jar com.hitek.gui.CLM $*
with:
jre/bin/java -Dpass="%pass%" -cp .:hitek10.jar com.hitek.gui.CLM $*