rivers/getlast3mo.sh
2016-03-25 07:07:50 +00:00

2 lines
138 B
Bash
Executable File

sqlite3 -init plot.sqliterc rivers.db "select timestamp, level from levels where stationid = $1 and timestamp > date('now', '-3 months')"