> I want to run a SQL script in my crontab job which requires using psql
> without having to input password every time. I am running postgresql
> What is the trick?
You may have gotten other replies that I've not noticed in my mail que,
but what I do is write my script in perl and use the DBI module to connect
to the database. Then use cron to run the script.
I'm sure there are other ways, but that's one way.
In response to
pgsql-novice by date
|Next:||From: V R||Date: 2002-06-01 06:24:47|
|Subject: Enabling Audit Trail in Postgres|
|Previous:||From: Josh Berkus||Date: 2002-05-30 15:44:13|
|Subject: Re: Database Ownership|