guix-commits
[Top][All Lists]
Advanced

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

02/02: hydra: services: Really run "certbot renew" twice per week.


From: Ludovic Courtès
Subject: 02/02: hydra: services: Really run "certbot renew" twice per week.
Date: Mon, 11 Jul 2022 11:52:37 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit d436b8fa9a485d824ca4331a119e01df69722adf
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jul 11 17:51:02 2022 +0200

    hydra: services: Really run "certbot renew" twice per week.
    
    * hydra/modules/sysadmin/services.scm (%certbot-job): Use Vixie cron
    syntax and really run twice per week.
---
 hydra/modules/sysadmin/services.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/hydra/modules/sysadmin/services.scm 
b/hydra/modules/sysadmin/services.scm
index f1640d2..db1388a 100644
--- a/hydra/modules/sysadmin/services.scm
+++ b/hydra/modules/sysadmin/services.scm
@@ -529,9 +529,7 @@ to a selected directory.")
 
 (define %certbot-job
   ;; Attempt to renew the Let's Encrypt certificate twice a week.
-  #~(job (lambda (now)
-           (next-day-from (next-hour-from now '(3))
-                          '(2 5)))
+  #~(job "30 0 * * 2,5"
          (string-append #$certbot "/bin/certbot renew \
 --webroot --webroot-path /var/www")))
 



reply via email to

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