Re: Should we add jitter to cron(8) ?
- In reply to: Poul-Henning Kamp : "Should we add jitter to cron(8) ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Nov 2026 17:05:57 UTC
Poul-Henning Kamp <phk@phk.freebsd.dk> wrote: > A) By default cron(8) waits [0...N] seconds before executing commands. > This can be disabled with a command line option. > For a number of reasons which we can hash later, I suggest N=30 > > B) Same as A), but the command line option enables jitter. > > C) Same as A), but with additional crontab(5) syntax to say "dont > jitter this particular entry". > > I would argue that A is the proper choice. For years I've been running cron on my FreeBSD servers with: /usr/sbin/cron -j 10 -J 10 -s An option to disable it for specific jobs would be handy though. Cheers, Jamie