unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36430: mcron would benefit from a better way to test jobs
@ 2019-06-29  6:37 Robert Vollmert
  2019-06-29 20:45 ` Jesse Gibbons
  2019-07-07 14:24 ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Robert Vollmert @ 2019-06-29  6:37 UTC (permalink / raw)
  To: 36430

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?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-07-11 15:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-29  6:37 bug#36430: mcron would benefit from a better way to test jobs Robert Vollmert
2019-06-29 20:45 ` 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

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).