Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

rr Build Status

repeat Repeats a command until it fails

retry Retries a command until it succeeds

Options

-c <count>    limit the number of times the command is run
-n <seconds>  override sleep in between commands (defaults to 1 second)
-r            clear the screen before each command run
-q            hide timestamps

Examples

$ retry foo # Retry foo every second until it succeeds
$ repeat foo # Repeat foo every second until it fails
$ retry -n 2.5 foo # Wait 2.5 seconds in between retries
$ retry -c 10 -n 0 foo # Run foo 10 times as fast as possible

Installation

Homebrew

brew tap justincampbell/formulae
brew install rr

Package

wget -O rr-latest.tar.gz https://github.com/justincampbell/rr/archive/latest.tar.gz rr
tar -zxvf rr-latest.tar.gz
cd rr-latest/
make install

About

repeat/retry

Topics

Resources

License

Languages

You can’t perform that action at this time.