Should we add jitter to cron(8) ?
- Reply: Dmitry Salychev : "Re: Should we add jitter to cron(8) ?"
- Reply: Miroslav Lachman : "Re: Should we add jitter to cron(8) ?"
- Reply: Peter Jeremy : "Re: Should we add jitter to cron(8) ?"
- Reply: Bob Bishop : "Re: Should we add jitter to cron(8) ?"
- Reply: Bakul Shah : "Re: Should we add jitter to cron(8) ?"
- Reply: Jamie Landeg-Jones : "Re: Should we add jitter to cron(8) ?"
- Reply: Warner Losh : "Re: Should we add jitter to cron(8) ?"
- Reply: Poul-Henning Kamp: "Re: Should we add jitter to cron(8) ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Nov 2026 11:25:49 UTC
Embedded systems using cron(8) are starting to cause macroscopic effects at the top of the minute: https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in-power-grids-solved That indicates that we should add jitter to cron(8). I can see three ways to do it: 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. Comments ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.