Skip to content
Snippets Groups Projects
Commit 6085399f authored by Michal Sojka's avatar Michal Sojka
Browse files

Do not send emails from every cron job

Send them only when glab cannot boot within 2 minutes.
parent 4745b408
No related branches found
No related tags found
No related merge requests found
......@@ -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 2m 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment