sysutils/snooze 0.6
Run a command at a particular time
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
6ad3fe5261- License
- CC0-1.0
- Categories
- sysutils
- Package size
- 11.8 KiB, 21.7 KiB installed
Description
Snooze waits until a particular time and then runs a command. Together with a service supervision system such as runsv(8) (from sysutils/runit), this can be used to replace cron(8).
Benefits over cron(8):
- mnemonic syntax
- no overlapping job runs possible
- filtering by ISO week and day of year
- no centralized daemon required (no fuzzing with multiple users/permissions)
- can easily disable jobs or force their execution instantly
- have custom logs
- very robust with respect to external time changes
- can use a file timestamp to ensure minimum waiting time between two runs, even across reboots
- randomized delays
- variable slack
- ad-hoc usage possible, just run the program from command line
Install
As a binary package — by origin, or by package name:
pkg install sysutils/snooze
pkg install snooze
From the ports tree:
cd /usr/ports/sysutils/snooze/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= snooze>0:sysutils/snooze
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.6 | 0.6 | 0.5 | 0.5_1 | 0.6 |
| FreeBSD:14:quarterly | 0.6 | 0.6 | n/a | 0.5_1 | 0.6 |
| FreeBSD:15:latest | 0.6 | 0.6 | n/a | 0.5_1 | 0.5_1 |
| FreeBSD:15:quarterly | 0.6 | 0.6 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.6 | 0.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Required by 1
Configuration
Options name: sysutils_snooze
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| leahneukirchen-snooze-v0.6_GH0.tar.gz | 8618 | 3a4a2f3f00d42e30647d9af79c8e417990ced6c3f0565474b1ca717938b1e2ab |