SUMMARY: Trouble with Environmental variables in crontab

From: Calvin Simon Waibale (swaibale@use.or.ug)
Date: Fri Apr 28 2006 - 10:15:09 EDT


Hi all-
Thanks to all who pointed out the need to source the environmental variable
settings, esp. Thomas, Gil, Steve, Gore, Morrison, Eric, Bill, Julian and
Peter.
I sourced the .profile in the export.sh script and all is fine.
 
-----$cat export.sh-----
#!/bin/ksh
TIMESTAMP=`date +%d%m%Y`
export TIMESTAMP
cd /ops/oracle
. .profile
/ops/oracle/ora92/bin/exp parfile=/export/scripts/export.ctl
 
------------------------
 
Thanks and cheers,
 
Calvin Simon Waibale
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:42 EDT