Poul-Henning Kamp <[email protected]> writes: > 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 ?
Sounds reasonable to me. I'm also in favor of the A, but would consider even more conservative N=60 with a special release note stating cron(8) behavior is changed by default and how to restore the old one. Regards, Dmitry -- https://wiki.freebsd.org/DmitrySalychev
