Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: oraenv and cron

Re: oraenv and cron

From: nomenclature <nom_at_tonal.net>
Date: Tue, 03 Oct 2000 13:06:15 +0100
Message-ID: <39D9CBB7.579822CC@tonal.net>

Joseph T wrote:
>
> And in fact, I still don't. Which of your statements should I take to be
> true; that the default environment I get when invoking cron isn't
> sufficient, or that there's no environment at all? And I'm not trying to
> be a wiseacre; I really am just trying to figure out why I have to take
> that extra step. For example, the $PATH. Since I'm explicitly giving the
> path to oraenv when I call it from my script, why should it matter what
> my path is to begin with? Neither in my .profile nor in my shell script
> is there anything to do with Oracle environmental stuff before or after
> orenv.

Don't you define $ORACLE_HOME before oraenv in the .profile ?

If not then I'm confused too.

>
> Not that it matters that much, since my problem is solved; I'm just
> curious.
>
> In article <8r31dg$iso$1_at_nnrp1.deja.com>,
> oratune_at_aol.com wrote:
> [edit]
> > If it did you wouldn't need to invoke your .profile, would you? The
> > oraenv script relies upon the current environment and since there is
> > none cannot function properly. (I typed THAT V E R Y S L O W L Y so
> > you might grasp the concept.)
Received on Tue Oct 03 2000 - 07:06:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US