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.
|All times are GMT -5. The time now is 12:16 PM.|