]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - continuous/cron.sh
Generate and update graphs from the cron job
[can-benchmark.git] / continuous / cron.sh
index 0e892d4abe1aa9ae83c7fc902f9332eb1b4e2301..ef5a309ca220922aad58ff02755b8326d3a1bd56 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+PATH=$PATH:$HOME/bin
+
 set -e
 
 cd $(dirname $0)
@@ -7,5 +9,8 @@ cd $(dirname $0)
 mkdir -p logs
 
 NOW=$(date +%F_%R:%S)
+LOG=logs/${NOW}.log
+
+make -C steps > $LOG 2>&1 || cat $LOG
 
-make -C steps > logs/${NOW}.log 2>&1
+make -C www --silent publish