retry: add page (#9849)
This commit is contained in:
16
pages/common/retry.md
Normal file
16
pages/common/retry.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# retry
|
||||
|
||||
> Repeat command until it succeeds or a criterion is met.
|
||||
> More information: <https://github.com/minfrin/retry>.
|
||||
|
||||
- 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}}`
|
Reference in New Issue
Block a user