pivot_forecast/routes/baseline/generate_route_sql.sh

5 lines
318 B
Bash
Raw Normal View History

2020-11-26 01:30:40 -05:00
# execure the sql for baseline which builds the sql and inserts into a table
#$PG -f routes/baseline/gen_baseline.sql
2020-11-26 01:30:40 -05:00
# pull the sql out of the table and write it to route directory
2022-05-06 23:07:42 -04:00
psql -h hptrow.me -p 54329 -d ubm -U ptrowbridge -c "SELECT t FROM fc.sql WHERE cmd = 'baseline'" -t -A -o routes/baseline/baseline.sql