BSD Ports

sysutils/snooze 0.5_1 DragonFly

Run a command at a particular time

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
CC0-1.0
Categories
sysutils
Package size
10.5 KiB, 20.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

In the other systems

SystemPortVersion
DragonFlysysutils/snooze0.5_1
FreeBSDsysutils/snooze0.6

Install

Binary package:

pkg install snooze

From DPorts:

cd /usr/dports/sysutils/snooze && make install clean

Dependencies

No port depends on this one.