Bash
2021
2019
A bash retry loop
·2 mins
Every now and then you'll find yourself writing a script with a step that does not always work first time: perhaps a remote service is temporarily down, or a DNS lookup fails intermittently.