On Wed, 27 Feb 2008 17:12:40 -0800
"Tena Sakai" <[EMAIL PROTECTED]> wrote:

Here's your problem.
>   . .bashrc

You have an extremely minimal environment when running from cron, and you 
certainly *aren't* running from the home directory of the relevant user. You 
need to set up your PATH and HOME manually, and cd to your home directory 
before sourcing .bashrc for this to work.

. ~/.bashrc *might* work, but it's better to be specific (:

hth,

Steve

-- 
Steve Holdoway <[EMAIL PROTECTED]>

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to