mirror of
git://git.savannah.gnu.org/guix/maintenance.git
synced 2023-12-14 03:33:04 +01:00
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.
This commit is contained in:
parent
30c1930dd7
commit
d436b8fa9a
|
@ -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")))
|
||||
|
||||
|
|
Loading…
Reference in a new issue