Error retrieving TWB root directory: Success (0)

Teradata Applications
Enthusiast

Error retrieving TWB root directory: Success (0)

Hi,

When executing a script directly from the unix command line it works.

When doing so via crontab i get this error;

Error retrieving TWB root directory: Success (0)

Can you explain what the error actually means and why it might be recieved when executing an otherwise succesfull script via crontab?

Version:

[xxx]$ uname -a

Linux czhrk-dl580nucprod-310-fe 2.6.18-194.11.3.el5 #1 SMP Mon Aug 23 15:51:38 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Script: (I've commented out the rest of the script to identify this line as being the issue)

echo "Start TPT: "$(date '+%Y-%m-%d %H:%M:%S')

/opt/teradata/client/14.00/tbuild/bin/tbuild -f /PnI/stable/DEM5508_JP/tpt/EXPORT.tpt -u "FILENAME = '$FILENAME'" -v /home/<USER>/.td_user_data

echo "TPT Complete: "$(date '+%Y-%m-%d %H:%M:%S')

Log:

Error retrieving TWB root directory: Success (0)

Start TPT: 2016-06-13 16:13:01

TPT Complete: 2016-06-13 16:13:01




Thanks :-)