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: Generic script for setting up correct cron environment?

Re: Generic script for setting up correct cron environment?

From: Philip Chee <philip_at_aleytys.pc.my>
Date: Sun, 12 May 2002 21:49:25 GMT
Message-ID: <1021240165.6077snx@aleytys.pc.my>


In article <5d75e934.0205091028.5f417b68_at_posting.google.com> edzard_at_volcanomail.com writes:

>I had a problem with the cron jobs too (on HP/UX 11i). This was not an
>Oracle issue though. It appears that the cron job does not go through
>the profiles like a regular interactive login. That leaves the
>environment almost uninitialised, especially PATH is not defined. So
>the job does not find oraenv, for instance.

This is the standard behaviour of unix cron. The 'cron' used by linux distributions is actually Vixie cron and this trips up lots of people moving from linux to a more mainstream *nix system and expecting the same behaviour.

Philip

---=====================================================================---
 Philip Chee: Tasek Corporation Berhad, P.O.Box 254, 30908 Ipoh, MALAYSIA   e-mail: philip_at_aleytys.pc.my Voice:+60.5.291.1011 Fax:+60.5.291.9932    Guard us from the she-wolf and the wolf, and guard us from the thief,
                  oh Night, and so be good for us to pass.
-- 
 þ 20451.35 þ Objects under T-Shirt are larger than they appear.
Received on Sun May 12 2002 - 16:49:25 CDT

Original text of this message

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