unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Vollmert <rob@vllmrt.net>
To: 36430@debbugs.gnu.org
Subject: bug#36430: mcron would benefit from a better way to test jobs
Date: Sat, 29 Jun 2019 08:37:29 +0200	[thread overview]
Message-ID: <B0BF7C44-23B2-42D7-8ACD-86E55DBDCE7D@vllmrt.net> (raw)

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 “Lambda expression”.
I learned how to give it a descriptive name, but still there’s
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 <id>` runs the specific mcron job

Or perhaps, any mcron job could be turned into a simple argument-less
guile or shell script that’s shown in the schedule listing?

Thoughts?

             reply	other threads:[~2019-06-29  6:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-29  6:37 Robert Vollmert [this message]
2019-06-29 20:45 ` bug#36430: mcron would benefit from a better way to test jobs Jesse Gibbons
2019-07-07 14:26   ` Ludovic Courtès
2019-07-07 14:24 ` Ludovic Courtès
2019-07-08  7:18   ` Robert Vollmert
2019-07-08  9:54     ` Ludovic Courtès
2019-07-08 11:58       ` Robert Vollmert
2019-07-11 15:36         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B0BF7C44-23B2-42D7-8ACD-86E55DBDCE7D@vllmrt.net \
    --to=rob@vllmrt.net \
    --cc=36430@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).