]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Add initial version of cron script
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 5 Feb 2014 17:50:24 +0000 (18:50 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 5 Feb 2014 17:50:24 +0000 (18:50 +0100)
continuous/cron.sh [new file with mode: 0755]

diff --git a/continuous/cron.sh b/continuous/cron.sh
new file mode 100755 (executable)
index 0000000..0e892d4
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e
+
+cd $(dirname $0)
+
+mkdir -p logs
+
+NOW=$(date +%F_%R:%S)
+
+make -C steps > logs/${NOW}.log 2>&1