Re: Using pg_dump in a cron
От | Patrick.FICHE@AQSACOM.COM |
---|---|
Тема | Re: Using pg_dump in a cron |
Дата | |
Msg-id | 1DC6C8C88D09D51181A40002A5286929B23122@intranet обсуждение исходный текст |
Ответ на | Using pg_dump in a cron (Patrick.FICHE@AQSACOM.COM) |
Список | pgsql-general |
Thanks Tom, You are absolutely right, the commandt stty istrip was the first line of my .profile... Regards, Patrick ---------------------------------------------------------------------------- --------------- Patrick Fiche email : patrick.fiche@aqsacom.com tél : 01 69 29 36 18 ---------------------------------------------------------------------------- --------------- -----Original Message----- From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org]On Behalf Of Tom Lane Sent: jeudi 2 juin 2005 18:07 To: Patrick.FICHE@aqsacom.com Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] Using pg_dump in a cron Patrick.FICHE@AQSACOM.COM writes: > The dump execution is OK but my user gets a mail containing the = > following > message : > > Your "cron" job on ALIS > . $HOME/.profile; pg_dump alis -U postgres -f > $AQSADIR/data/backup/alis_data.sql -a -d >/dev/null 2>&1 > > produced the following output: > > stty: : No such device or address > What's wrong with it ? My bet is the .profile file contains a call of stty ... and of course stdin is going to be pointing somewhere else than a terminal ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend
В списке pgsql-general по дате отправления: