🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.current
Article #150

Re: Should we add jitter to cron(8) ?

#150
From: Jamie Landeg-Jones
Date: Mon, 02 Nov 2026 17:05
22 lines
3997 bytes
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


--
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: <202611021705.6A2H5vEl077365@donotpassgo.dyslexicfish.net>
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
References: <6ae8733d.196.16f0653@critter.freebsd.dk>

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: Jamie Landeg-Jones <jamie@catflap.org>
Newsgroups: muc.lists.freebsd.current
Subject: Re: Should we add jitter to cron(8) ?
Date: Mon, 02 Nov 2026 17:05:57 +0000
Organization: Dyslexic Fish
Sender: owner-freebsd-current@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <202611021705.6A2H5vEl077365@donotpassgo.dyslexicfish.net>
References: <6ae8733d.196.16f0653@critter.freebsd.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="1826"; mail-complaints-to="news-admin@muc.de"
User-Agent: Heirloom mailx 12.4 7/29/08
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1793639191; 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=M2TwDJcP6ldLUK6wtnUdW1DHI//ZVjwMNtm/aFkqQ44=;
	b=dkuD2cFa9s0fmROq3L7Oosnhu3qRA3R4I7n+UwKZvhGFDfcE8k5deNLcNyPvZp0tDadP4E
	Bq/RRbQ0TdymSVLEgoNiYXB1FULK4jd3aGZpAKEg1tNbXLgQm7UM8UJnCyYr0ZTLxTmypb
	MbNSi0cv0Sll+4K0ZceJ56zMtS9GH3SaU5NZJg/XkGImf2ltTI71DkVuQshX9VOXtRVyfh
	lEr40fFd7yIw7lKucEpv0++fK5fO5l1NLW0e4O8WMRNNbt6dXz8pdXSL2aai4EZEvm3UYk
	ZpCXAxrXNRNHR6GGtOTGsn3WuEXaIAmJWvCfG0jRakXwe+YItrJqPcZTuEfVBw==
X-Original-To: current@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=none;
	dmarc=pass (policy=none) header.from=catflap.org;
	spf=pass (mx1.freebsd.org: domain of jamie@catflap.org designates 2001:19f0:7400:8808:12:4:0:1 as permitted sender) smtp.mailfrom=jamie@catflap.org
X-Catflap-Envelope-From: <jamie@donotpassgo.dyslexicfish.net>
X-Catflap-Envelope-To: current@FreeBSD.org
In-Reply-To: <6ae8733d.196.16f0653@critter.freebsd.dk>
Precedence: list
X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Mon, 02 Nov 2026 17:05:58 +0000 (GMT)
X-Rspamd-Queue-Id: 4jJJ4t3cF6z4sc9
X-Spamd-Bar: /
X-Spamd-Result: default: False [0.30 / 15.00];
	SUBJECT_ENDS_QUESTION(1.00)[];
	DMARC_POLICY_ALLOW(-0.50)[catflap.org,none];
	R_SPF_ALLOW(-0.20)[+mx:dyslexicfish.net];
	MIME_GOOD(-0.10)[text/plain];
	RCVD_NO_TLS_LAST(0.10)[];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US];
	ARC_NA(0.00)[];
	HAS_ORG_HEADER(0.00)[];
	FREEFALL_USER(0.00)[jamie];
	TO_DN_NONE(0.00)[];
	FROM_HAS_DN(0.00)[];
	R_DKIM_NA(0.00)[];
	RCVD_COUNT_TWO(0.00)[2];
	RCPT_COUNT_TWO(0.00)[2];
	FROM_EQ_ENVFROM(0.00)[];
	MIME_TRACE(0.00)[0:+];
	MLMMJ_DEST(0.00)[current@FreeBSD.org]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes