recur

Retry a command with exponential backoff and jitter

brewmacoslinux
Try with needOr install directly
Source

About

Retry a command with exponential backoff and jitter

Commands

recur

Examples

Retry a failing curl command up to 5 times with exponential backoff$ recur -m 5 curl https://api.example.com/data
Retry a command with custom initial delay of 1 second and max delay of 30 seconds$ recur -i 1 -M 30 docker pull myimage:latest
Retry a flaky test command with default exponential backoff strategy$ recur npm test