On Tue, 01 Jul 2008 19:44:28 +0200, Avilio Alarcón <[EMAIL PROTECTED]> wrote:
pg_dump: not found
I have no idea what you just said, but I think I understand the problem.
Cron's PATH is reset to quite simple value in each cron script, so, instead of:
pg_dump -Ft -b radius > $(date +%Y%m%d)_aloradius_radius.tar
use
/usr/bin/pg_dump -Ft -b radius > $(date +%Y%m%d)_aloradius_radius.tar
(or wherever your pg_dump is)
I'd also suggest using /bin/gzip instead of just gzip.

Regards,
--
ru

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to