Birt 2.5.2 report generates empty table data when run from a cron job
Posted
by Trueblood
on Stack Overflow
See other posts from Stack Overflow
or by Trueblood
Published on 2010-05-19T16:25:14Z
Indexed on
2010/05/20
0:50 UTC
Read the original article
Hit count: 440
I've got a shell script that runs genReport.sh in order to create a .pdf formatted report, and it works perfectly when it's run from the command line. The data source for the report is a ClearQuest database.
When it's run from a CRON job the .pdf file is created, except that only the various report and column headers are displayed, and the data of the report is missing. There are no errors reported to STDERR during the execution of the script.
This screams "environment variable" to me.
Currently, the shell script is defining the following:
CQ_HOME
BIRT_HOME
ODBCINI
ODBCINST
LD_LIBRARY_PATH
If it's an environmental thing, what part of the environment am I missing?
© Stack Overflow or respective owner