FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.60.60.50.5_10.6
FreeBSD:14:quarterly0.60.6n/a0.5_10.6
FreeBSD:15:latest0.60.6n/a0.5_10.5_1
FreeBSD:15:quarterly0.60.6n/an/an/a
FreeBSD:16:latest0.60.6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
DOCSoffBuild and/or install documentation
Service scripts
none

Files

distinfo 1
FileSizeSHA256
leahneukirchen-snooze-v0.6_GH0.tar.gz86183a4a2f3f00d42e30647d9af79c8e417990ced6c3f0565474b1ca717938b1e2ab

Commit history 1

DateCommitCreditsLog message
6ad3fe5261 Kirill Ponomarev sysutils/snooze: Update to version 0.6