PostgreSQL: executing a .SQL file from command line?
I have a .SQL file containing SQL queries that update a database.
I know how to run this file in the interactive mode of psql, but how to execute it from a bash command line?
I need this because I want to set it up as a scheduled task by cron.
Last edited by J_Szucs; 09-24-2003 at 11:50 PM.
|