mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
retry: add page (#9849)
This commit is contained in:
parent
8e421f41f7
commit
f7cc9d4d35
1 changed files with 16 additions and 0 deletions
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}}`
|
Loading…
Add table
Reference in a new issue