projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4.2in E-Paper 3-color weather screen
[weathermon.git]
/
bin
/
dump-yesterday
diff --git
a/bin/dump-yesterday
b/bin/dump-yesterday
index d96d3dd6f5a0e3317982560f8b6f0d09d1547b43..c9e1eaf5727c875d83c4a05f7ffbac37f8e6a835 100755
(executable)
--- a/
bin/dump-yesterday
+++ b/
bin/dump-yesterday
@@
-12,6
+12,6
@@
if [ -f "$logdb" ]; then
/usr/bin/weather-filter $logdb dump-compacted $yesterday $dumpdir
/usr/bin/weather-filter $logdb dump-compacted $yesterday $dumpdir
- sqlite3 $logdb "delete from log where time_stamp<date('now','-
1
day')"
+ sqlite3 $logdb "delete from log where time_stamp<date('now','-
2
day')"
fi
fi