using vacuumdb in crontab

From: Cris Carampa <cris119(at)operamail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: using vacuumdb in crontab
Date: 2003-11-17 10:53:47
Message-ID: bpa9g4$kun$1@panco.nettuno.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)operamail(dot)com)

"Poveri fanatici comunisti, noglobal e affetti dalla sindrome
anti-microsoft" (gli utenti Linux secondo un poster di ICOD)

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Együd Csaba 2003-11-17 14:36:07 Strange behavior after refreshing stored functions
Previous Message Rudi Starcevic 2003-11-17 04:37:50 Re: pg_restore and FK constraints with large dbs