From: Wei Weng <wweng@kencast.com>
To: pgsql-sql@postgresql.org
Subject: running psql in a cron job
Date: 07 Aug 2002 10:51:24 -0400
Message-ID: <1028731885.30770.2.camel@Monet> (raw)
My database has "local all password" as its HBA control.
Is there anyway to manipulate psql so that I can somehow put the
password also inside the command line so that I can run psql in a cron
job? (such as psql -c "VACUUM ANALYZE" -d my_data -U my_user)
Thanks
--
Wei Weng
Network Software Engineer
KenCast Inc.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: wweng@kencast.com
Subject: Re: running psql in a cron job
In-Reply-To: <1028731885.30770.2.camel@Monet>
* 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