SUMMARY: Trouble with Environmental variables in crontab

From: Calvin Simon Waibale <swaibale_at_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
Received on Fri Apr 28 10:17:53 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:57 EST