CmdID / Commands
Repeat command until it succeeds or a criterion is met. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Retry a command until it succeeds
retry command
Retry a command every n seconds until it succeeds
retry --delay n command
Give up after n attempts
retry --times n command