提交 606f8019 编写于 作者: A ashwinimurt

Retry running bee several times if it fails

上级 4750b301
#!/bin/sh
mono bee.exe "$@"
\ No newline at end of file
attempt=0
until [ "$attempt" -ge 10 ]
do
mono bee.exe "$@" && break
attempt=$((attempt+1))
sleep 5
echo "\nRetry running bee... $attempt"
done
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册