Rtry
(Re-)Trys executing a command till it succeeds.
Note: Currently Only supports Unix Based systems.
Installation
Binary Download
Checkout the releases to download the binary for your distribution.
Install from source
go install github.com/arunmurugan78/rtry@latest
Usage
rtry [OPTIONS] COMMAND
Example
rtry -timeout 3000 "ping google.com"
Options
flag |
Description |
Default |
Required |
timeout |
Retry timeout in milliseconds |
1000 |
false |
License
This project is licensed under the MIT License.