From: Cris Carampa <cris119@operamail.com>
To: pgsql-admin@postgresql.org
Subject: Re: using vacuumdb in crontab
Date: Tue, 18 Nov 2003 08:57:07 +0100
Message-ID: <bpcjgp$mmd$1@panco.nettuno.it> (raw)
In-Reply-To: <bpa9g4$kun$1@panco.nettuno.it>
References: <bpa9g4$kun$1@panco.nettuno.it>
Cris Carampa wrote:
> Sorry if this is a naive question. I'm using postgresql 7.2 on Linux
> with password authentication. I wish to issue a vaccumdb command every
> night via crontab. The problem is that vacuumdb always prompts for a
> password. How can I pass the password to vacuumdb without having to
> manually type it?
Sorry. Problem solved.
export PGPASSWORD=<passwd>
Kind regards,
--
Cris Carampa (spamto:cris119@operamail.com)
"Poveri fanatici comunisti, noglobal e affetti dalla sindrome
anti-microsoft" (gli utenti Linux secondo un poster di ICOD)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: cris119@operamail.com
Subject: Re: using vacuumdb in crontab
In-Reply-To: <bpcjgp$mmd$1@panco.nettuno.it>
References: <bpa9g4$kun$1@panco.nettuno.it> <bpcjgp$mmd$1@panco.nettuno.it>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox