> I need to set up a daily cron job that performs a pg_dump on a remote
> database. I can't figure out how to pass a password to it. How do I do
> this. Everything I've tried still comes up with asking me for a password
> when I test it.
>
$ export PGPASSWORD=user_pass
$ echo -e "Would do the trick. Yes, it will not ask for the password
again";
regards,
bhuvaneswaran