| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Werner Modenbach <modenbach(at)alc(dot)de> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: pg_dumpall in crontab doesn't work |
| Date: | 2002-07-02 15:38:29 |
| Message-ID: | 200207021538.g62FcTg13548@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hiroki Takada | 2002-07-02 16:02:22 | Re: how to re-configure postgresql-rpm version |
| Previous Message | Bruce Momjian | 2002-07-02 15:25:31 | Re: Authentication in batch processing |