From e35f41c6dc43589f7c11ac83debd0d2e32a88ec6 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 30 Aug 2020 21:26:33 +0200 Subject: [PATCH] bundles/letsencrypt: change cronjob times --- bundles/letsencrypt/metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/letsencrypt/metadata.py b/bundles/letsencrypt/metadata.py index 8e8d99d..9e22365 100644 --- a/bundles/letsencrypt/metadata.py +++ b/bundles/letsencrypt/metadata.py @@ -1,6 +1,6 @@ defaults = { 'cron': { - 'letsencrypt_renew': '20 4 * * * root /usr/bin/dehydrated --cron --accept-terms --challenge http-01 > /dev/null', - 'letsencrypt_cleanup': '42 23 * * 0 root /usr/bin/dehydrated --cleanup > /dev/null', + 'letsencrypt_renew': '{} 4 * * * root /usr/bin/dehydrated --cron --accept-terms --challenge http-01 > /dev/null'.format((node.magic_number % 60)), + 'letsencrypt_cleanup': '{} 4 * * 0 root /usr/bin/dehydrated --cleanup > /dev/null'.format((node.magic_number % 60)), }, }