in reply to Re^3: Cron revisited
in thread Cron revisited
Obviously you should set your ORACLE_HOME and LD_LIBRARY_PATH env variables to the correct ones for your installations in the above. Note that the TNS_ADMIN env variable tells you where to look for tnsnames.ora.BEGIN { unless (($ENV{BEGIN_BLOCK}) or $^C) { $ENV{ORACLE_HOME} = '/usr/local/instantclient'; $ENV{LD_LIBRARY_PATH} = '/lib:/usr/local/instantclient:/usr/local/ +lib'; $ENV{TNS_ADMIN} = '/apps/admin'; $ENV{BEGIN_BLOCK} = 1; exec 'env',$0,@ARGV; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Cron revisited
by tweetiepooh (Hermit) on Jan 23, 2013 at 14:07 UTC | |
|
Re^5: Cron revisited
by Anonymous Monk on Jan 22, 2013 at 03:44 UTC | |
by mildside (Friar) on Jan 22, 2013 at 23:01 UTC |