guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Exposing?) config files and non-start/stop operations


From: Ludovic Courtès
Subject: Re: (Exposing?) config files and non-start/stop operations
Date: Tue, 22 Nov 2016 23:59:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Christopher Allan Webber <address@hidden> skribis:

> Anyway, I think exposing the `actions' slot in shepherd is the way to
> go.  We could already use it for some things other than the theoretical
> examples I've given.  Last night I wanted to do something like:
>
>   sudo mcron --schedule=10
>
> ... which would, according to the mcron docs, show me the next ten
> upcoming tasks that are scheduled!  I wanted to verify that I was
> writing my mcron procedures right.  Likewise, my shepherd configuration
> seems obscured (well sort of, I can figure it out by looking at
> `ps auwwwx' but I don't want to do that).  It would be nice if I could
> do:
>
>   sudo herd list-schedule mcron 10
>
> Anyway, hopefully I've made my case! :)

Definitely!  :-)  This one is a good example, too.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]