diff options
Diffstat (limited to 'retiolum/scripts/adv_graphgen/all_the_graphs.sh')
-rwxr-xr-x | retiolum/scripts/adv_graphgen/all_the_graphs.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/retiolum/scripts/adv_graphgen/all_the_graphs.sh b/retiolum/scripts/adv_graphgen/all_the_graphs.sh new file mode 100755 index 00000000..9f3bf82b --- /dev/null +++ b/retiolum/scripts/adv_graphgen/all_the_graphs.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +( + echo "`date` begin all graphs" >> /tmp/build_graph + cd $(dirname $(readlink -f $0)) + PATH=$PATH:../../../util/bin/ + EXTERNAL_FOLDER=/var/www/euer.krebsco.de/graphs/retiolum + INTERNAL_FOLDER=/var/www/euer/graphs/retiolum + begin=`timer` + export GEOCTIYDB="$PWD/GeoLiteCity.dat" + (python tinc_stats/Log2JSON.py | python tinc_stats/Geo.py > $INTERNAL_FOLDER/marker.json)& + (./anonytize.sh $EXTERNAL_FOLDER && echo "`date` anonytize done" >> /tmp/build_graph)& + (./sanitize.sh $INTERNAL_FOLDER && echo "`date` sanitize done" >> /tmp/build_graph)& +# wait + echo "`date` end all graphs" >> /tmp/build_graph +)& |