# 使用 Homebrew, apk, apt, MacPorts, Nix 安装 snooze

查看 snooze 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:snooze
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install snooze
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install snooze
```

  证据: MacPorts ports tree: sysutils/snooze/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add snooze
```

  证据: Alpine Linux edge package indexes: snooze from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install snooze
```

  证据: Debian stable package indexes: snooze from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#snooze
```

  证据: nixpkgs package indexes: pkgs/by-name/sn/snooze/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:snooze
- **软件包管理器:** Homebrew
- **版本:** 0.5.1
- **来源摘要:** Run a command at a particular time
- **主页:** <https://github.com/leahneukirchen/snooze>
- **仓库:** <https://github.com/leahneukirchen/snooze>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- snooze (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.5.1
## 项目历史与用法

snooze is a compact Unix command scheduler designed to wait until a matching time and then exec a command, often under a service supervisor instead of cron.

### 项目历史

The public GitHub repository was created in 2015. The README describes snooze as a new tool for waiting until a particular time and then running a command, and explicitly frames it as a cron replacement when paired with a service supervision system such as runit.

### 采用历史

The supplied package metadata lists snooze in Alpine, Homebrew, Debian, MacPorts, Nix, and Ubuntu. That is a broad footprint for a small C utility, and it reflects the Unix packaging appeal of single-purpose tools that compose cleanly with supervisors and shell scripts.

### 使用方式

snooze is used in cron-like schedules, supervised jobs, inline scripts, randomized or slack-tolerant runs, and rate-limiting service restarts. Its README includes examples for daily jobs, hourly mirror scripts, cron-style mail, and runit-style services.

### 为什么软件包爱好者会关心

snooze appeals to package-manager and init-system users because it avoids a central scheduler daemon, has zero dependencies according to its README, respects `DESTDIR`, installs under a conventional `PREFIX`, and lets service supervision handle logging, restarts, and enable/disable behavior.

### 时间线

- 2015: Public GitHub repository created.
- 2015: README documents snooze as a supervisor-friendly cron alternative tested on Linux 4.2.
- 2026: Repository remains active, with source metadata showing recent maintenance.

### Related projects

- The README compares snooze directly with cron, runwhen, uschedule, and systemd timers.

### 来源

- GitHub REST repository metadata for leahneukirchen/snooze, accessed 2026-07-02.
- <https://github.com/leahneukirchen/snooze>
- <https://raw.githubusercontent.com/leahneukirchen/snooze/master/README.md>
- input.source_facts.package-manager


## 安全说明

没有找到 snooze 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Debian apt - snooze - 0.5-1: normalized package name match | Debian stable package indexes: snooze from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | run a command at a particular time | https://git.vuxu.org/snooze/about/
- Nix - snooze: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/snooze/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - snooze - 0.5-1: normalized package name match | Ubuntu 24.04 LTS package indexes: snooze from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | run a command at a particular time | https://git.vuxu.org/snooze/about/
- apk - snooze - 0.5.1-r1: normalized package name match | Alpine Linux edge package indexes: snooze from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Run a command at a particular time | https://github.com/leahneukirchen/snooze
- apk - snooze-doc - 0.5.1-r1: normalized package name match | Alpine Linux edge package indexes: snooze-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Run a command at a particular time (documentation) | https://github.com/leahneukirchen/snooze
- MacPorts - snooze: normalized package name match | MacPorts ports tree: sysutils/snooze/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/snooze.yml](https://github.com/mxcl/pkgdb/blob/main/combined/snooze.yml)


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
