X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0E0D1D1B592 for ; Tue, 18 Nov 2003 08:20:18 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 75694-09 for ; Tue, 18 Nov 2003 04:19:48 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 7CBCED1B584 for ; Tue, 18 Nov 2003 04:19:46 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hAI8JjNu017130 for ; Tue, 18 Nov 2003 08:19:45 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hAI7xWj8012911 for pgsql-admin@postgresql.org; Tue, 18 Nov 2003 07:59:32 GMT From: Cris Carampa X-Newsgroups: comp.databases.postgresql.admin Subject: Re: using vacuumdb in crontab Date: Tue, 18 Nov 2003 08:57:07 +0100 Organization: NETTuno Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: news@nettuno.it User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031009 X-Accept-Language: it, en-us In-Reply-To: X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/339 X-Sequence-Number: 11326 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= 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)