From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: bug#36430: mcron would benefit from a better way to test jobs Date: Sat, 29 Jun 2019 08:37:29 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35210) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hh6zt-0002qL-GS for bug-guix@gnu.org; Sat, 29 Jun 2019 02:38:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hh6zr-00068q-H1 for bug-guix@gnu.org; Sat, 29 Jun 2019 02:38:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hh6zp-00068K-Ux for bug-guix@gnu.org; Sat, 29 Jun 2019 02:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hh6zp-0001xa-QH for bug-guix@gnu.org; Sat, 29 Jun 2019 02:38:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35134) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hh6zR-0002j1-Mf for bug-guix@gnu.org; Sat, 29 Jun 2019 02:37:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hh6zQ-0005wM-GK for bug-guix@gnu.org; Sat, 29 Jun 2019 02:37:37 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:63118) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hh6zQ-0005uU-AK for bug-guix@gnu.org; Sat, 29 Jun 2019 02:37:36 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id AAC50509E2 for ; Sat, 29 Jun 2019 08:37:32 +0200 (CEST) Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id 2-RhRPxOog-D for ; Sat, 29 Jun 2019 08:37:31 +0200 (CEST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36430@debbugs.gnu.org My issue: Defined a mcron job in config.scm scheduled to run once a day, with a scheme expression. How do I test this? herd schedule mcron lists the job as merely a =E2=80=9CLambda = expression=E2=80=9D. I learned how to give it a descriptive name, but still there=E2=80=99s no script linked that I can run by hand. One major improvement would be to have: 1. `herd schedule mcron` lists jobs with some kind of id 2. `herd execute mcron ` runs the specific mcron job Or perhaps, any mcron job could be turned into a simple argument-less guile or shell script that=E2=80=99s shown in the schedule listing? Thoughts?