Article View: muc.lists.freebsd.current
Article #155Re: Should we add jitter to cron(8) ?
From: Sulev-Madis Silber
Date: Mon, 02 Nov 2026 18:58
Date: Mon, 02 Nov 2026 18:58
40 lines
5654 bytes
5654 bytes
On November 2, 2026 8:28:09 PM GMT+02:00, "Enji Cooper (yaneurabeya)" <yaneurabeya@gmail.com> wrote: > >> On Nov 2, 2026, at 9:10 AM, Jamie Landeg-Jones <jamie@catflap.org> wrote: >> >> Peter Jeremy <peterj@FreeBSD.org> wrote: >> >>> IMO, it would be useful to have a way of saying e.g. "run once an hour >>> but I don't care when within the hour". >> >> I assume that the time within the hour would be the same each hour? If so, >> that would be useful. >> >> But would than initial state random number be stored somewhere, or reset >> each time cron starts? > ><2 cents> (deflated) >It would probably be better if the state was tracked at the system level instead of in the application itself. > >As a bonus, employing jitter might improve overall system-level entropy, depending on how jobs are run and when, which could help cryptography some. ></2 cents> > >Thanks, >-Enji what if (embedded) system with read-only filesystem reboots? -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<FADC8020-BCFA-4F03-8EE4-C696C2752F5F@ketas.si.pri.ee>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<5ACE1CA6-EA55-443C-9C15-1BA40B4898A7@gmail.com> <>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Sulev-Madis Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee> Newsgroups: muc.lists.freebsd.current Subject: Re: Should we add jitter to cron(8) ? Date: Mon, 02 Nov 2026 20:58:24 +0200 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-current@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <FADC8020-BCFA-4F03-8EE4-C696C2752F5F@ketas.si.pri.ee> References: <5ACE1CA6-EA55-443C-9C15-1BA40B4898A7@gmail.com> <> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="89450"; mail-complaints-to="news-admin@muc.de" User-Agent: K-9 Mail for Android DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793645955; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=uQPAK9l6hSaoWRN0gRbn2fd4PrYhz+X/E0Tt/ylGFU4=; b=YX2xBwbV/82t+Y/ynLwBY30qg8qTVx+VcLxugdP+4bzHbdF5cEhhGeDoaYpCjJejZ7yId6 1zK/IfO/DjlaBHkv9Jc/cZBDMrGAwG1bpfIgqpUjr5tWLLcg5OsLenNryA6KvEnSye86b/ aZV3Nt76SXzlB/E+soa1aM7Pk5H+gCY/sKCT296rnxca9UNhegjMrgEqJlMCGiLWIVT/Qo qYF7Qdr1pH3ilPmFmQBwd22bxIDZ8dz9TXEREbwI7lKSu6Ke8L8fz39lZoyY30vHHPJwXM 0lD56420NtN93hgM08V/RYNE0bW6Szf+ZTp8O+3y9XXUjNG/v3S5+LUC+60vCg== X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ketas.si.pri.ee header.s=ketas-si-pri-ee-20240416002854-4096 header.b=pM4uX6Qh; spf=pass (mx1.freebsd.org: domain of freebsd-current-freebsd-org111@ketas.si.pri.ee designates 2001:7d0:8437:13e8:21e:bff:fea2:d004 as permitted sender) smtp.mailfrom=freebsd-current-freebsd-org111@ketas.si.pri.ee; dmarc=pass (policy=reject) header.from=ketas.si.pri.ee X-Clacks-Overhead: GNU Terry Pratchett DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ketas.si.pri.ee; s=ketas-si-pri-ee-20240416002854-4096; t=1793645908; bh=uQPAK9l6hSaoWRN0gRbn2fd4PrYhz+X/E0Tt/ylGFU4=; h=Date:From:To:Subject:In-Reply-To:References; b=pM4uX6QhX+s2Z5ziggI/tXGujpZXSnNQPapH4qM8fon5WmID7h/lBy13ZrvVlL1tQ 2ykmhFZcVF7NSXL27Tx2oGgaME/l9LW0Dv5KLX96jtneFBcRmfMQdAWskVa6lw1pu1 Zf+GKC+4zGPc2vasLeZRTklJC5zq5k+SvWmQWS24PYl48alovWzcDi+DkMCV5xFnjZ joX26tDBGjxoFAKxrr5dMm+8ASTbNZR97SsrziI+W8HHwg77lkddg0I7V1EJkkc+B1 vtt3ct6RU5gdmDcYwrembu8IUsb/ytA9QxvIfAOiSg0zRTVeHO1iY7dcK+jOzZdjMl OtiQSkgFPWXmYAaitFP26oaR9UiwBHYTALrhxxvLWWqgiC/vtKEsjRTVIJMPZZVc1l U3ZclSocCflQn3nMSqUBhjmTjR5MNmLAUZxipppZhjKUi/NFG7VUBppdVuMZ2hIQj3 PhUJKvkbbsROMNgxHPNHud6MwpVPHhUhXDWOh8rg87ia4vN8h0GMTGjr9hNPTA7UXu GArJttn8oU/NkcigezZcwaNdKNXMkbhV3t3lnYWab3cxBqGGrRvP2rhGl5LJQPaCD8 j8M/AkHsfdAne1pqSmzU2ZlEtczlqO3eQHIjqWtnfn8pjKMfHQhqIUk29R9EUcYeRp j21iGjpKOrX5y/MgEmJSfuzA= X-Passed-Through: http://ketas.si.pri.ee/ In-Reply-To: <5ACE1CA6-EA55-443C-9C15-1BA40B4898A7@gmail.com> Precedence: list X-Rspamd-Queue-Id: 4jJLZl27RXz4RNy X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.20 / 15.00]; HFILTER_HOSTNAME_5(3.00)[d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[ketas.si.pri.ee,reject]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:7d0:8437:1300::/56]; R_DKIM_ALLOW(-0.20)[ketas.si.pri.ee:s=ketas-si-pri-ee-20240416002854-4096]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:3249, ipnet:2001:7d0::/32, country:EE]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@FreeBSD.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[ketas.si.pri.ee:+] X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes