Repeat command until it succeeds or a criterion is met. More information: https://github.com/minfrin/retry.
retry command
retry --delay=n command
retry --times=n command