Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 18F7D475F0F for ; Tue, 2 Jul 2002 08:18:02 -0400 (EDT) Mailbox-Line: From JGuthrie@air.org Tue Jul 2 08:18:02 2002 Received: from dc1.air.org (unknown [208.246.68.150]) by postgresql.org (Postfix) with ESMTP id 6CEDB475E5D for ; Tue, 2 Jul 2002 08:09:34 -0400 (EDT) Received: by DC1 with Internet Mail Service (5.5.2653.19) id ; Tue, 2 Jul 2002 08:09:04 -0400 Message-ID: From: "Guthrie, John" To: pgsql-admin@postgresql.org Subject: Re: pg_dumpall in crontab doesn't work Date: Tue, 2 Jul 2002 08:09:00 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.30 X-Spam-Level: X-Archive-Number: 200207/22 X-Sequence-Number: 4709 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. john guthrie -----Original Message----- From: Werner Modenbach [mailto:modenbach@alc.de] Sent: Tuesday, July 02, 2002 3:51 AM To: pgsql-admin@postgresql.org Subject: Re: [ADMIN] pg_dumpall in crontab doesn't work Nils H=F6glund wrote: >=20 >> 05 22 * * 1-5 postgres /usr/bin/pg_dumpall -D >=20 >> /disks/postgres/db.pg_dumpall >> connected to template1... >> /usr/bin/pg_dumpall: 0: Bad file descriptor >=20 > Filedescriptor 0 is STDIN. I would guess pg_dumpall want's to read=20 something > from stdin, pherhaps ask you a question? >=20 But it doesn't ask in interactive (shell) mode. ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly