Consultor Eletrônico



Kbase 11057: Running Progress procedures under CRON
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Running Progress procedures under CRON

When running Progress procedures from CRON note the following:

1. The TERM environment variable must be set to a valid terminal
entry in the DLC/protermcap file. Set the TERM env variable
in the scripts that cron calls or in the progress script (mbpro)
for example, TERM=vt100;export TERM.
2. CRON should call a script that executes mpro, mbpro or pro.
CRON should not call $DLC/_progres directly.
The called script should set up the Progress environment i.e. DLC,
PROPATH, PATH, PROMSGS, PROCFG, TERM, PROTERMCAP, should be set.

3. The Progress procedure should not have any "user interaction" code
such as:
PROMPT-FOR statements.

Progress Software Technical Support Note # 11057