var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Getting DB2 Command to run in Cron
I have a script to export a table into a delimited file then ftp to a drop zone. I can run this script manually and everything goes fine. The script has two db2 commands....
db2 connnect to 'database'
db2 "export ......"
When I try to run this script through cron, my output file says "db2 not found". How do I get this to execute? Thanks.
Run it through cron as the instance owner, or load the instance profile.
in your script, first execute $insthome/sqllib/db2profile