Free 14-Day Evaluations    
Product Downloads    

Sign in     


DESKTOP MOBILE DOWNLOAD PURCHASE SUPPORT INFO COMPANY
 Home  >>  Support  >>  Knowledge Base

Using cron to Run TERM

cron allows users and administrators to run unattended jobs at any time. Although this document provides examples, you should refer to your UNIX documentation for details specific to your environment.

On older versions of UNIX (pre-System V or Berkeley), cron was only accessible to the system administrator with root or superuser capabilities. If you are using a newer version of UNIX, you should have access to cron. If not, consult with the system administrator.

To run TERM as a background application using cron, do the following:

  1. Set the PATH environment variable to include the directory where the TERM executable is installed, normally /usr/bin.
  2. Set the TERM environment variable to the correct terminal emulation.
  3. Set the HOME environment variable to your home directory. This is normally done by default.
  4. Export the above three environment variables.
  5. Have CRON run the shell script in background mode as follows:
  6. term -q &

    You must use the -q option and the ampersand &. If you do not use the -q option, you will see multiple copies of the error, “EOF error on console”.To have TERM run a TSL script when the system is rebooted, you must have a shell in the /etc/rc2.d directory that invokes TERM.

Comments are closed.

  Copyright © 2024 Century Software, Inc. All Rights Reserved999 TERMS OF USE PRIVACY POLICY EULA