Consultor Eletrônico



Kbase P3978: Error 293 starting a Progress session in batch mode.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

UNIX

SYMPTOM(s):

** "<file-name>" was not found. (293)

Starting a Progress session in batch mode from cron.

Procedure works fine when invoked from the Procedure Editor.

CAUSE:

Scripts run with cron do not inherit any settings from the users' OS environment, therefore OS variable PROPATH must be set in the script before starting a Progress batch session.

FIX:

Specify the PROPATH setting in the cron script, for example:

# set PROPATH
PROPATH=.:/myapp/firstdir:/myapp/seconddir
export PROPATH