macOS
brew install recurlocal Homebrew formula metadata
安装
brew install recurlocal Homebrew formula metadata
概览
Retry a command with exponential backoff and jitter
历史
recur is a cross-platform command-line retry wrapper with configurable attempt limits, delay, exponential or Fibonacci backoff, jitter, timeouts, programmable Starlark success conditions, and optional reports.
recur was developed as a portable command runner that repeats one command until a success condition is met or its attempt budget is exhausted. The implementation is written in Go and extends conventional retry wrappers with exponential and Fibonacci backoff, jitter, per-attempt timeouts, stream buffering, and Starlark expressions.
The project has evolved to support condition files, regular-expression checks against buffered input or output, retry statistics in text or JSON, and binaries across Unix-like systems and Windows.
The project publishes binaries for major BSD systems, Linux, macOS, and Windows. It is also installable through Homebrew on macOS and Linux and through the Go toolchain.
A typical invocation places recur options before the target command. By default, recur treats exit status zero as success and tries at most ten times; users can add constant delay, exponential or Fibonacci backoff, jitter, a delay ceiling, timeouts, or unlimited attempts.
For more specialized workflows, Starlark expressions or files can inspect exit status, timing, and buffered streams. The report option emits attempt counts, exit codes, wait times, and success statistics as text or JSON.
recur packages retry policy as a composable command-line primitive rather than requiring shell-loop boilerplate. Its portable binaries, structured reports, configurable backoff, and programmable success conditions make it useful in scripts, CI jobs, network automation, and operational tooling.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
recur | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dbohdan/recur
安装元数据
| 软件包键 | brew:recur |
|---|---|
| 版本 | 3.3.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/recur |
| 主页 | https://github.com/dbohdan/recur |
| 仓库 | https://github.com/dbohdan/recur |
| 许可证 | MIT |
| 源码归档 | https://github.com/dbohdan/recur/archive/refs/tags/v3.3.0.tar.gz |
| 最后更新 | 2026-09-13T05:23:20Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | recur |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.