[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30300] [PATCH] gnu: mcron2: Use Guile 2.2 instead of 2.0.
From: |
Maxim Cournoyer |
Subject: |
[bug#30300] [PATCH] gnu: mcron2: Use Guile 2.2 instead of 2.0. |
Date: |
Wed, 31 Jan 2018 00:05:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
This updates our mcron2 packages (used by default in our mcron service)
to Guile 2.2, so that we can use new goodies in our job scripts.
Here's an example that didn't work before with Guile 2.0, because its
http-get method lacked HTTPS support:
--8<---------------cut here---------------start------------->8---
(define duckdns-job
;; Update personal domain IP every 5 minutes.
#~(job '(next-minute (range 0 60 5))
(lambda ()
(use-modules (web client))
(http-get
(string-append
"https://www.duckdns.org/update?domains=apteryx&token="
#$sec-dyndns-token "&ip=")))))
--8<---------------cut here---------------end--------------->8---
I've also fixed the manual page which was failing to be generated for mcron2.
Thank you,
Maxim
0001-gnu-mcron2-Use-Guile-2.2-instead-of-2.0.patch
Description: Text Data
- [bug#30300] [PATCH] gnu: mcron2: Use Guile 2.2 instead of 2.0.,
Maxim Cournoyer <=