[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 8967df518203f4864a17dbec3375772cbfa1a89d
Author: hiro <hiro@xxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits