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: run a shell script on red hat linux

Re: run a shell script on red hat linux

From: <sybrandb_at_hccnet.nl>
Date: Tue, 14 Aug 2007 21:33:22 +0200
Message-ID: <kp04c3tn0t3uu4s19n8cfad0qtmj51pbo1@4ax.com>


On Tue, 14 Aug 2007 05:21:18 -0700, vincent.rhin_at_gmail.com wrote:

>Here is my environment : Oracle 10G release 2 on RED HAT LINUX
>ENTERPRISE.
>I have a shell script (.sh) with an Oracle export and a ftp command to
>transfer the file *.dmp to an other machine. When i execute this
>script with the user Oracle, it works perfectly.
>Now I try to launch it via OEM; Program,job, etc...it doesn't work
>because, perhaps, an environment trouble (the script is launch by ??
>with his environment ???)
>Sorry for my bad english, i'm french.

Your .profile doesn't run when you don't run your script interactively.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Tue Aug 14 2007 - 14:33:22 CDT

Original text of this message

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