From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id CEP9NNLhCGbXSQEA62LTzQ:P1
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 31 Mar 2024 06:08:51 +0200
Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id CEP9NNLhCGbXSQEA62LTzQ
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 31 Mar 2024 06:08:51 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=PoBVxNO0;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1711858130;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=g8wRT0KoRpq0lvK7H9fjfhZ/LxfJrWTSChd+bfHRSZI=;
	b=W3n1rRHTun9ba2f6dC2bBLnsIjHovXfqxa/8MJPk4MZXTZ0tmx/8Nht06iNDjoS0xG6Ne0
	Js506IlL6OAaz4pX0Kdt6S5dwZmF18JEjay9PPV2OL7+jDGSpjwE1bKid0O0lZFl0GfQas
	bLdRou8da36liWAJTgIHWyTRSOkbk5P4BEDHiR0xlnxjnD+klKIntb+SoExKcy8M4/a405
	PnkafDSdRqb3qAexEfOVV/S2/H2/HwZPtklZvlmOqo98fk2VvEe2hTy6Rx0Q3Ngqr1qYTl
	89NLm8E18t1uPT+qnBHWF8f5FB9pMTL/wzPGl2xI3uAMHaUp7WtdyKnOzoItgA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=PoBVxNO0;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711858130; a=rsa-sha256; cv=none;
	b=UQ4sQJkyiwSBokKiT+MFVUrAlHz/Z4zCYy8807F29EptEG4CzqahltkSCdTdv59PetL1dq
	hY7i3C++m26SoZ6rYKncsSeDYhc02ansWlFtdAg6yBDk/uwvXxTSdqRtvM6tzDuZRY0OOl
	Vcmxs/OtNUVp5IPPiJFA5TO3n6xoor0c0JSQx2qXG+Kl2IL0EFeKk+/MWX62v91tMK+u+S
	jJxvTFyfetbHqinIbvLClZNNwknBcHsi1SD2HAfA60GIH4t8zfh8fiwf5kB+PrDhgikD9y
	BZ1el97h6u67tf2DU6HA9Gn+uFuiR+rglLqePirXw6mxTZY2ecYe8x0QL7XH8g==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id B686115F98
	for <larch@yhetil.org>; Sun, 31 Mar 2024 06:08:50 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-devel-bounces@gnu.org>)
	id 1rqmUL-0004DB-NK; Sun, 31 Mar 2024 00:08:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felix.lechner@lease-up.com>)
 id 1rqmUJ-0004Cx-Bv
 for guix-devel@gnu.org; Sun, 31 Mar 2024 00:08:07 -0400
Received: from sail-ipv4.us-core.com ([208.82.101.137])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <felix.lechner@lease-up.com>)
 id 1rqmUG-0000Fy-Vr; Sun, 31 Mar 2024 00:08:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=g8wRT0KoRpq0lvK
 7H9fjfhZ/LxfJrWTSChd+bfHRSZI=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=lease-up.com; b=PoBVxNO0/AmyDkVzSrcH0zEefoGPRb0Lqdxn3cfC
 115ZWy3VoQ74QcLNrh0Hbpxib47rN4eQPL4miHXaFt2PCyt/4egJprkeEIWQDMWPZ6JhmX
 tmZlAKgtQWj6yuL7FBU3MQ72RT90vV/hGQbr8mkTx6QDr3QlqnAXHGqePXjvQ=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id b8b6616f
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Sun, 31 Mar 2024 04:07:56 +0000 (UTC)
To: Adam Faiz <adam.faiz@disroot.org>, ludo@gnu.org
Cc: guix-devel@gnu.org
Subject: Re: Shepherd timers
In-Reply-To: <93EEFB57-F2BC-4317-B548-842BB4256305@disroot.org>
References: <93EEFB57-F2BC-4317-B548-842BB4256305@disroot.org>
Date: Sat, 30 Mar 2024 21:07:55 -0700
Message-ID: <871q7r2gdg.fsf@lease-up.com>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=208.82.101.137;
 envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: guix-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Development of GNU Guix and the GNU System distribution."
 <guix-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-devel>
List-Post: <mailto:guix-devel@gnu.org>
List-Help: <mailto:guix-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=subscribe>
Reply-to:  Felix Lechner <felix.lechner@lease-up.com>
From:  Felix Lechner via "Development of GNU Guix and the GNU System distribution."
 <guix-devel@gnu.org>
Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org
Sender: guix-devel-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Spam-Score: -4.18
X-Migadu-Queue-Id: B686115F98
X-Migadu-Scanner: mx13.migadu.com
X-Migadu-Spam-Score: -4.18
X-TUID: Rm7Qva4haWsn

Hi Adam,

On Sun, Mar 31 2024, Adam Faiz wrote:

> Could the Shepherd depend on mcron for the timer functionality? Since
> mcron already handles scheduling commands to run at a certain time,
> there would be no need to reimplement it again.

I don't wish to speak for the Mcron maintainer Dave, who reads this
list, or for Ludo', to whom your message was addressed, but the
Shepherd's scheduler [1] strikes me as potentially superior as it may
avoid this calendaring issue in Mcron. [2]

Kind regards
Felix

[1] https://git.savannah.gnu.org/cgit/shepherd.git/tree/modules/shepherd/service/timer.scm?h=devel#n149
[2] https://lists.gnu.org/archive/html/bug-mcron/2023-12/msg00000.html