[rt-users] Cron Issues....
Stephen Turner
sturner at MIT.EDU
Wed Jul 11 15:55:01 EDT 2007
At Wednesday 7/11/2007 03:50 PM, Jeff Stark wrote:
>Thanks, yes, actually I am expecting it to run as root. (I know bad
>karma to follow)
>
>But I am just trying to get it working. I have tried forcing the
>loading of .bash_profile and have also tried adding the following to the
>script:
>export ORACLE_BASE=/u01/app/oracle
>export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/client_1
>export LD_LIBRARY_PATH=$ORACLE_HOME/lib
>
>But I still get this error:
Something that might help to debug this is to create a shell script
that just prints out the environment variables. Run this from the
command line and then from cron - see if you get everything you expect.
Steve
More information about the rt-users
mailing list