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 83365D1D8B2 for ; Mon, 17 Nov 2003 11:20:16 +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 37760-07 for ; Mon, 17 Nov 2003 07:19:47 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id AF23FD1D8BB for ; Mon, 17 Nov 2003 07:19:33 -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 hAHBJXNu083815 for ; Mon, 17 Nov 2003 11:19:33 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hAHAu3JJ079620 for pgsql-admin@postgresql.org; Mon, 17 Nov 2003 10:56:03 GMT From: Cris Carampa X-Newsgroups: comp.databases.postgresql.admin Subject: using vacuumdb in crontab Date: Mon, 17 Nov 2003 11:53:47 +0100 Organization: NETTuno Lines: 14 Message-ID: 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 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/340 X-Sequence-Number: 11327 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? 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)