Consultor Eletrônico



Kbase P7131: Running a script with crontab fails due to missing environment variables
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Verified

FACT(s) (Environment):

UNIX
Progress 8.x

SYMPTOM(s):

trying to run backup through a script with crontab

Progress commands are not found like: 'command probkup: not found'

running probkup from command-line is working

running the script on the command-line is working

CAUSE:

the Progress environment variables are not linked to the script

FIX:

set TERM, DLC and PATH in the beginning of the script and export them.