[tor-commits] [gettor/master] Fix export stats script

hiro at torproject.org hiro at torproject.org
Sat Aug 31 13:57:28 UTC 2019


commit 8967df518203f4864a17dbec3375772cbfa1a89d
Author: hiro <hiro at torproject.org>
Date:   Sat Aug 31 15:57:24 2019 +0200

    Fix export stats script
---
 scripts/export_stats | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/export_stats b/scripts/export_stats
index a0b9f99..6a195ec 100755
--- a/scripts/export_stats
+++ b/scripts/export_stats
@@ -11,5 +11,5 @@
 
 cd ~/gettor
 mkdir -p csv
-sqlite3 -header -csv gettor.db "select * from stats;" > csv/$(date "+%Y-%m-%d").csv
+sqlite3 -header -csv gettor.db "select * from stats;" > csv/$(date "+%Y-%m-%d-%T").csv
 ./scripts/add_links_to_db -f gettor.db



More information about the tor-commits mailing list