From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8KwiLNe5YGfvdQAA62LTzQ:P1 (envelope-from ) for ; Mon, 16 Dec 2024 23:37:59 +0000 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 8KwiLNe5YGfvdQAA62LTzQ (envelope-from ) for ; Tue, 17 Dec 2024 00:37:59 +0100 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=KvitepIk; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-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=1734392279; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=uHr7t1r8Os4a1Q41G5JpTofM1WuWu+sk/s+eIWE1kIs=; b=d6frNGneyq98Ow4QJ8Pw9SnV9hpdh+Fc2eVvYzKO0cZrPElsN+yD3nBPAvrcXlIpbaPdLo uAL87AbmHK90GDSsDJPmLB0nzOhBokggjch4u2QMYViOD50r0702T5frv4WzpkqxVPxJgc pWIpWsSU1zDWhTxO3bLr5SIbyX3rl7jpLrq/ku7ufye4zXLM8GL9rak7TadDcc2SZ952sF efHRXC5LNbNk36K7609WMs8PJv73uMiWl44OERVTAyiTKXEKWY/M/lwOnRwXYLh4ShNqNa vrdadqF8iYmwukNYmIk755aRCC495l2CPx5sydSzJJzG5u7xgDMc/CL7AdTWCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=KvitepIk; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734392279; a=rsa-sha256; cv=none; b=A4OJ6vFoJoGzc7nuuJuwG3JjmK2hPWo30NGEjQIAvqQflOgzOE/lNPRuIkAjzAC3x+53Yr fBxgI+J1e45tO3V2SeDCvvNMBfAkL6Nq6eo017wauMr3L9GKP/2Xg7Woa/igR61BVA9xjV zVDI7fxo7Oaub9G6ow4C2UnRf/APJ7Kb5/EPUOZ9GsnWGtGTGCpyvcWrUi4wSzx8EPp7P2 2riEoyvoSMNvqaVSlQg7ImnJmJ8xcIGS4OCgQIl7qj/lAZ+0LLIc6yQv5zvEHZTv5CWZAZ 8ziOHMMxrHSvm2EyVa4NqrK5ltbE03O/mpIQy9D0TYep2LSDUvFXP3dHSW8qWQ== 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 56DBF2F1 for ; Tue, 17 Dec 2024 00:37:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNKeM-0005vp-OO; Mon, 16 Dec 2024 18:37:18 -0500 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 ) id 1tNKeH-0005vY-ON for help-guix@gnu.org; Mon, 16 Dec 2024 18:37:13 -0500 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 ) id 1tNKeC-0000Tc-Fg for help-guix@gnu.org; Mon, 16 Dec 2024 18:37:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=MXhGOr4eC0MgJIA 6cuRUklN3jgm/0LfBSpTHwUeJ9V4=; h=date:references:in-reply-to:subject: to:from; d=lease-up.com; b=KvitepIkeMQHcL9J9WpBJs129WsxSw5XNJfAEdrBS6e y3rNnsc+aJ7ZOKmZChLzW2ep3O2IrJsp6HoTeLGngbd9bt3pGGQQhmVNch51yUz7m2U7v3 IP2dCkyUjXVO0ePiAEfa/HSiiQ+TPPDS+NBERNRlEBgosfocGM6oQQtm/g= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 1926c689 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Mon, 16 Dec 2024 23:37:02 +0000 (UTC) To: help-guix@gnu.org Subject: Re: How to add the timer-trigger-action to a shepherd service? In-Reply-To: <87cyhrb5oa.fsf@wolfsden.cz> (Tomas Volf's message of "Mon, 16 Dec 2024 23:53:57 +0100") References: <87cyhrb5oa.fsf@wolfsden.cz> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Mon, 16 Dec 2024 15:36:54 -0800 Message-ID: <87y10fi4ix.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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 56DBF2F1 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.84 X-Spam-Score: -2.84 X-TUID: C81+3OGycrba Hi Tomas, On Mon, Dec 16 2024, Tomas Volf wrote: > what to put into the (actions) field Please try this: (actions (list (shepherd-action (name 'trigger) (documentation "Trigger the action associated with this timer.") (procedure #~(identity trigger-timer))))) You can see my full timer definitions here. [1] Kind regards Felix [1] https://codeberg.org/lechner/system-config/src/commit/4335818ba8da818f21810b5b402db51c77d3b344/host/wallace-server/operating-system.scm#L660-L664