summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/adv_graphgen/all_the_graphs.sh
blob: 2a41df38f3048aa67d00a0aa30af23e5d946f3a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
echo "`date` begin all graphs" >> /tmp/build_graph
cd $(dirname $(readlink -f $0))
PATH=$PATH:../../../util/bin/
begin=`timer`
(./anonytize.sh /srv/http/pub/graphs/retiolum/ && echo "`date` anonytize done" >> /tmp/build_graph)&
(./sanitize.sh /srv/http/priv/graphs/retiolum/ && echo "`date` sanitize done" >> /tmp/build_graph)&
for job in `jobs -p`
do
  echo $job
  wait $job || echo "$job failed!"
done
statsc "graphs.buildtime:$(timer $begin)|ms"