summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2012-06-05 12:05:13 +0200
committerEUcancER <root@euer.krebsco.de>2012-06-05 12:05:13 +0200
commitc04b0047db2249317a905f7d95d2fcaef6a479cc (patch)
treea2fd848e1cd15d3ab16c357ea9cecbf5e69b10fb /retiolum
parentd2f737473e3bbcb7592a6745820bccd333128459 (diff)
//retiolum all_the_graphs: update to be non-intrusive
Diffstat (limited to 'retiolum')
-rwxr-xr-xretiolum/scripts/adv_graphgen/all_the_graphs.sh27
1 files changed, 14 insertions, 13 deletions
diff --git a/retiolum/scripts/adv_graphgen/all_the_graphs.sh b/retiolum/scripts/adv_graphgen/all_the_graphs.sh
index 92c89cc9..0499e9c7 100755
--- a/retiolum/scripts/adv_graphgen/all_the_graphs.sh
+++ b/retiolum/scripts/adv_graphgen/all_the_graphs.sh
@@ -1,14 +1,15 @@
#!/bin/bash
-echo "`date` begin all graphs" >> /tmp/build_graph
-cd $(dirname $(readlink -f $0))
-PATH=$PATH:../../../util/bin/
-export LOG_FILE=/var/log/retiolum.log
-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
-graphitec "retiolum.graph.buildtime" "$(timer $begin)"
+set -x
+
+(
+ 1>>/tmp/build_graph
+ echo "`date` begin all graphs" >> /tmp/build_graph
+ cd $(dirname $(readlink -f $0))
+ PATH=$PATH:../../../util/bin/
+ export LOG_FILE=/var/log/retiolum.log
+ 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)&
+ wait
+ graphitec "retiolum.graph.buildtime" "$(timer $begin)" &>>/tmp/build_graph
+)&