Re: Using pg_dump in a cron

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using pg_dump in a cron
Дата
Msg-id 14662.1117728398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using pg_dump in a cron  (Patrick.FICHE@AQSACOM.COM)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: [SQL] index row size 2728 exceeds btree maximum, 27
Следующее
От: Himanshu Baweja
Дата:
Сообщение: Re: Stats not getting updated....