From nobody Tue Jan 25 22:17:08 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 379921989F03 for ; Tue, 25 Jan 2022 22:17:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jk1Rl6lyKz3m0N for ; Tue, 25 Jan 2022 22:17:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C4B0611CD0 for ; Tue, 25 Jan 2022 22:17:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20PMH7LY031121 for ; Tue, 25 Jan 2022 22:17:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20PMH7su031120 for bugs@FreeBSD.org; Tue, 25 Jan 2022 22:17:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 210538] [feature request] limit number of running instances in crontab Date: Tue, 25 Jan 2022 22:17:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643149028; h=from:from: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; bh=y9CAzwIrwAnUoTpYglibPVgjhali89g2uBZxWrg7uto=; b=VhSLxFh2SO0IaMS3l/ouCvnRqqoMiXsq9yI1yIbeZ7HO147YC4c70b3Hdx5zD3yUxrOD2k PErw0dUI0lDd/bAuCIoMgPMCcMJ5EzStBtuTTmD2FZ6/xY+4CUm9YGdzumPjA2IVaDO76+ KLWwHZ6IYDb2NsJUkCmXrVXACGqf8qnfUL72TDprZdjdNioxfWICuXXd7K/H606bTgDmOy PcZP/roy6jBaRA1vyzomokKe9rRDjKTEAh6UOpGAe3V0bO1TtMtnlCI/0xSf9Rz4EzuA59 fdRbUZp1jjyNwNaYZ6bNrYtcvv6yTBbepD0a0GPDPTFsDku1manmcQtrbNMnpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643149028; a=rsa-sha256; cv=none; b=tWucFxyXO+3xPR1UtEUiHeK6XQHRXwjvlQyLfx5MxMAAftTGKCFz01sk8vsPnDgpDX93CF ooNxQ1j+L8cVGdjt3DsvmzWZUYMdYMGcxFwew0pcg4ZJ2BwK40WVsWClDKwy2k+YDVB173 RGJAH+tDsrFAga58QZJyHZ63/Z6r+A9rOnodTv6zWm+X64TNyTdBIqTJhLo/5ec+mx3ceV TEiGgIylLm8r5LTe5C85fkJGG8ameREa+qiEPWqpQfKrSfzJqHawRiIGqij0sbwqg2KBZp bu8wFCfyVK6AlQaugWe6WJaN+I53OdS3WvvtI0lvjtMPND/uj9WLDP6heXcpQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210538 Mikhail Teterin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glebius@FreeBSD.org --- Comment #2 from Mikhail Teterin --- (In reply to Alan Somers from comment #1) > This feature was added in SVN r334817. That's related, but not quite the same thing... The commit by @glebius prov= ides for running "every X seconds" -- and is useful for frequent jobs. But it'd be difficult to use even with periodic(8) -- which still does its = own locking -- because you cannot specify the desired schedule time. The feature I envisioned was a safeguard against jobs running unusually lon= g. The feature implemented in r334817 is for jobs, that do usually run long... Try rephrasing the periodic-entries in today's /etc/crontab to use Gleb's n= ew syntax -- so that /usr/sbin/periodic no longer needs its own locking. You cannot... Please, reopen this PR. --=20 You are receiving this mail because: You are the assignee for the bug.=