Re: pg_dumpall in crontab doesn't work

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_dumpall in crontab doesn't work
Дата
Msg-id 200207021538.g62FcTg13548@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg_dumpall in crontab doesn't work  (Werner Modenbach <modenbach@alc.de>)
Список pgsql-admin
Werner Modenbach wrote:
> Guthrie, John wrote:
>
> > keep in mind that cronjobs don't get your login environment, so things
> that
> > work in interactive mode often fail in cron unless you make sure to set up
> > the environment there too.
> >
> Thanks John,
>
> actually I didn't know that :-(
> In the meantime I added the "</dev/null" as proposed by Tom and it works
> fine now :-))
> Seems like pg_dump needs it. Maybe this can be improved in future?

Is there a password involved in any of the databases?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Authentication in batch processing
Следующее
От: Hiroki Takada
Дата:
Сообщение: Re: how to re-configure postgresql-rpm version