Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id A2D1B475FC3 for ; Tue, 2 Jul 2002 12:17:52 -0400 (EDT) Mailbox-Line: From pgman@candle.pha.pa.us Tue Jul 2 12:17:52 2002 Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 7385447600E for ; Tue, 2 Jul 2002 11:38:33 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g62FcTg13548; Tue, 2 Jul 2002 11:38:29 -0400 (EDT) From: Bruce Momjian Message-Id: <200207021538.g62FcTg13548@candle.pha.pa.us> Subject: Re: pg_dumpall in crontab doesn't work In-Reply-To: To: Werner Modenbach Date: Tue, 2 Jul 2002 11:38:29 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL97 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-3.4 required=5.0 tests=IN_REP_TO version=2.30 X-Spam-Level: X-Archive-Number: 200207/30 X-Sequence-Number: 4716 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 " 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