From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YCuNFAa4XGPKOAAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 07:20:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aIOMFAa4XGNBeAAA9RJhRA (envelope-from ) for ; Sat, 29 Oct 2022 07:20:06 +0200 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 C2760218DD for ; Sat, 29 Oct 2022 07:20:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooeET-00085f-8l; Sat, 29 Oct 2022 01:18: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 ) id 1ood8d-0003R3-76 for guix-patches@gnu.org; Sat, 29 Oct 2022 00:08:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ood8c-0004iq-6w for guix-patches@gnu.org; Sat, 29 Oct 2022 00:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ood8b-0004wV-T9 for guix-patches@gnu.org; Sat, 29 Oct 2022 00:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58855] [PATCH 0/5] Update mcron to latest commit Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Oct 2022 04:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58855@debbugs.gnu.org Cc: Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166701647218965 (code B ref -1); Sat, 29 Oct 2022 04:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2022 04:07:52 +0000 Received: from localhost ([127.0.0.1]:34685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ood8S-0004vo-0t for submit@debbugs.gnu.org; Sat, 29 Oct 2022 00:07:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:44696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ood8O-0004vf-TH for submit@debbugs.gnu.org; Sat, 29 Oct 2022 00:07:51 -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 ) id 1ood8O-0003JL-Er for guix-patches@gnu.org; Sat, 29 Oct 2022 00:07:48 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oocof-00023z-T8 for guix-patches@gnu.org; Fri, 28 Oct 2022 23:47:27 -0400 Received: by mail-qt1-x82e.google.com with SMTP id c23so4669334qtw.8 for ; Fri, 28 Oct 2022 20:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yFUMnyijuN8f4Z8Gi1g5vMr6o+K1ZDJeg8U8gUG95zc=; b=g8VK8Om1p0TtKrSN/gns7nhVL5qxnYcE3Cedeh3gQAQjABvkr4rJHFOU4yCRUFhnAQ +SVsY8XQZyAMQt9bzp4vIjWi3kou2EzvGSTIB7K0hj2Ux/jUby12XSMn+96aKIV8EFcP /nY5ZD9cd0R2FAQmEelGlmmT1Knv59zd1r9YvJ9xKzNLfqC4r6t+z2R16uTLLP2YIzNh ZthDJHxkg17hL8CLAHcX1EBUlhrpC7rLzBlKcy+9NuzJScEwFOJ0t9c0Lt48jaC61dJ9 IFw0MWgKmQRCyZnn+GNfy9PZ2o0swfWmkjmdTgQePEDhVjQwu2HxIFA6OZFqZkgDHIP6 Fi+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yFUMnyijuN8f4Z8Gi1g5vMr6o+K1ZDJeg8U8gUG95zc=; b=QYJF2Ti0imHkILa5uOPPH+2j+VN8oTf/qNbEcXlTCxA0NDI1srki7vd3Sd4Orl1iAC Cgm7H0n588THa5A1Mt3XjDRUEBBbvlfoeGGI0qRRW/6f3KPIyxomAU6TLtCbdbBHN8tu 9aq9tbfgV2UqVMsfGWlRLwL+nlyMnZzIP89A4sQKS7u6QHkKZrhpc9Kg1XSMYCZNUBvU lC0FFjn49CAb9ZeXnxEucCneb70473M1C51Ga1EmVIpZQqYsjK8AinZDpHKzPM4nbAmB n98Kax5pnh3gh/malBVj6WoHkfg365TCWuhvsoqfPRpM3FYCyR0aTDz4jKlPDiqXWUOC SE9Q== X-Gm-Message-State: ACrzQf3Grz7ZKILmZSqhMGjp1Ue6SdF/Yxtq4wUEi1V24/Nn9H89WdA6 yh0zBVsHNwIhm4iUnUhZFdpkBEdzfSE= X-Google-Smtp-Source: AMsMyM4WVas8WdjLqHXS4tZcMseapf1tZ0XlqGT1MTLrZWkjUm6FSWg0+RkQNdmu0Qyd9YarZA7aIQ== X-Received: by 2002:a05:622a:f:b0:39c:f320:f7a3 with SMTP id x15-20020a05622a000f00b0039cf320f7a3mr2277755qtw.101.1667015243407; Fri, 28 Oct 2022 20:47:23 -0700 (PDT) Received: from localhost.localdomain (dsl-152-179.b2b2c.ca. [66.158.152.179]) by smtp.gmail.com with ESMTPSA id hg24-20020a05622a611800b00398a7c860c2sm295147qtb.4.2022.10.28.20.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 20:47:22 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 28 Oct 2022 23:47:16 -0400 Message-Id: <20221029034716.11125-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82e.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667020805; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yFUMnyijuN8f4Z8Gi1g5vMr6o+K1ZDJeg8U8gUG95zc=; b=UqBIN6UHeoUy617auGAD94paMkoLIsg5+VBo7lRB6MLG0tuPANTKkb+owLwHLHTb+U7+pC wCbV1jmjVYMa7NVE7TZAbRzYw0XV10RHedtkRKa5V5KJsvElCs/uXVds3tY+BlUVcYTTGH dYLbpu0P75W7fgqlGC2dk2LD7+vKbxSRlQMoTew5TETqliolwdzmGH3UHp7l9cBwbp4wgN vSygl4v2l7dMAaLTCWF596NApQEUWp1EOXRFsgLCdBrGdzi/OoL05fbr+hkb9RNctdqS6F r6G7lb1DuoUIpIFNTPuboRPbzv7hhgcNQbXeQO508tO9fv1n+qbH4JgK9L/OQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667020805; a=rsa-sha256; cv=none; b=OH898A1LL+G9fTf5Cd+226Pe25qMAESlwoo4ME9sclgwTBEG9whGrigFRa6UkwPiHKjjJR TJH/Fxy51Y7yaPZZMKPvDezoVg3MTMuRnGSC0UJbSHOdIDe46J+rxqDZ2m2hVJ+pxXX8U7 OSt/DqikIeFDvydXJK83zno7pVsdbLqWhCZhqT2ymbDE8ngJh5vkrgBGOV/kUpbRByvMdM kXN27C8OonerlpBCigtdfmXJjCD3EyDuRCxh5cU+chU7JK7Ra6M2/2p9ZJHoj3VpLZlgI+ GZrqNDRnRFRW+VsaUGftIKKrzXQ7bjZ8nhQCjlhH5oWpt+sPI/w+F3lYzupMoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=g8VK8Om1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=g8VK8Om1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C2760218DD X-Spam-Score: 5.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: P2+JzhMMxs0D Hi, This update mcrons to its latest commit, which includes these changes: --8<---------------cut here---------------start------------->8--- 5fd0ccd * origin/master tests: Check (mcron vixie-specification) d1a3e83 * vixie-time: Remove calls to 'pk' debugging facility 19ba0a8 * Lose hope of running against guile 2.2 or earlier. e2ecb80 * Give mcron --log option to turn logging on. a7a456c * base: Annotate output with job information. 9e99490 * Revert "Minor cosmetic simplification of case logic after previous patch." d5c021e * documentation: extensive editing of info manual after a note from Paul Vixie. 99a26e5 * Minor cosmetic simplification of case logic after previous patch. 8b27157 * base: Handle nonexistent user home directories. 271b1f2 * Clarify an error message 172f70e * documentation: Bug fix in a simple example. --8<---------------cut here---------------end--------------->8--- The one "base: Annotate output with job information." one gives us better logging capability, such as when a job is started and when it finishes, and its completion status: --8<---------------cut here---------------start------------->8--- 2022-10-28 22:55:00 5185 duckdns-update: completed in 0.349s 2022-10-28 23:00:00 6547 duckdns-update: running... 2022-10-28 23:00:00 6548 btrbk: running... 2022-10-28 23:00:00 6547 duckdns-update: completed in 0.350s 2022-10-28 23:05:01 7764 duckdns-update: running... 2022-10-28 23:05:01 7764 duckdns-update: completed in 0.417s 2022-10-28 23:10:00 8315 duckdns-update: running... 2022-10-28 23:10:00 8315 duckdns-update: completed in 0.454s --8<---------------cut here---------------end--------------->8--- We now see the pid, job name and some message about the current status (running/completed/failed). I hope you like it! Maxim Cournoyer (5): services: configuration: Re-order generated record fields. services: mcron: Add log? and log-format fields to mcron-configuration. gnu: mcron: Use gexps and strip trailing #t. gnu: Remove guile2.2-mcron. gnu: mcron: Update to 1.2.1-0.5fd0ccd. doc/guix.texi | 45 +++++++++++++---- gnu/home/services/mcron.scm | 47 +++++++++++++---- gnu/packages/guile-xyz.scm | 92 +++++++++++++++++----------------- gnu/services/configuration.scm | 10 ++-- gnu/services/mcron.scm | 47 +++++++++++++---- gnu/services/monitoring.scm | 4 +- 6 files changed, 162 insertions(+), 83 deletions(-) -- 2.37.3