X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/4745b4081998ca7f4ae6fcd6fe423f3e804d7053..dc7f5a3374014b178414d75c09b9484403f186cc:/continuous/cron.sh diff --git a/continuous/cron.sh b/continuous/cron.sh index a7794cd..9f8f4a2 100755 --- a/continuous/cron.sh +++ b/continuous/cron.sh @@ -8,7 +8,7 @@ cd $(dirname $0) # Wakeup glab sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 -while ! ssh sojka@glab true; do sleep 1; done +chronic timeout 5m sh -c 'while ! ssh sojka@glab true; do sleep 1; done' sleep 30 # Wait a bit to finish all boot jobs etc. mkdir -p logs @@ -25,4 +25,4 @@ make -C www --silent publish ( cd logs && git add $LOG && git commit --quiet -m 'Automatic commit' && git push --quiet ) -ssh -f sojka@glab 'sudo /sbin/poweroff' +#ssh -f sojka@glab 'sudo /sbin/poweroff'