1
0
Fork 0
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:
Gingeh 2023-02-16 19:26:09 +11:00 committed by GitHub
parent 8e421f41f7
commit f7cc9d4d35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
pages/common/retry.md Normal file
View 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}}`