Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Could not run export utility from cron job
Simpson, Ken wrote:
>
> I'm pretty sure that jobs running out of cron do not source in .profile
> so you probably don't
> have the Oracle environment set and therefor exp is not in your PATH.
>
> Ken
How about adding the line:
source <path_to_your_profile>/.(bash_)profile
to the shell script that runs exp?
Unfortunately, I'm not in a position to test this where I am right this minute.
-- PresiNET Systems http://www.PresiNET.com Online Demo: https://www.presinet.com/secure/login -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Bricklen Anderson INET: BAnderson_at_PresiNET.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Dec 10 2003 - 13:09:24 CST