rivers/getlast3mo.sh

2 lines
138 B
Bash
Raw Normal View History

2016-03-25 07:07:50 +00:00
sqlite3 -init plot.sqliterc rivers.db "select timestamp, level from levels where stationid = $1 and timestamp > date('now', '-3 months')"