* How to automatically restart mcron (or register new jobs) on deploy?
@ 2024-07-05 15:38 Tomas Volf
2024-07-05 16:10 ` Felix Lechner via
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Volf @ 2024-07-05 15:38 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
Hello,
I created a new service-type which (among other things) extends
mcron-service-type to register few jobs. It seems to work, with one exception.
When I deploy the configuration, the mcron jobs are not registered. They are
not being executed and they are not visible in the output of `herd schedule
mcron'.
They do show up when I either reboot or manually execute `herd restart mcron'.
Is there a way to make this happen automatically? Having to remember "right,
the jobs were changed, I need to log onto the server and restart mcron" is bit
annoying and I am sure I will forget sooner or later.
Thank you and have a nice weekend,
Tomas Volf
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to automatically restart mcron (or register new jobs) on deploy?
2024-07-05 15:38 How to automatically restart mcron (or register new jobs) on deploy? Tomas Volf
@ 2024-07-05 16:10 ` Felix Lechner via
0 siblings, 0 replies; 2+ messages in thread
From: Felix Lechner via @ 2024-07-05 16:10 UTC (permalink / raw)
To: Tomas Volf, help-guix
Hi Tomas,
On Fri, Jul 05 2024, Tomas Volf wrote:
> Is there a way to make this happen automatically?
Do the new timers from the Shepherd development branch do that?
Kind regards
Felix
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-05 16:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-05 15:38 How to automatically restart mcron (or register new jobs) on deploy? Tomas Volf
2024-07-05 16:10 ` Felix Lechner via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.