aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ingress
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-10-10 23:09:52 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-10-10 23:09:52 +0300
commite4faedce00a921ab3b58b816eda987feaa2f0e9e (patch)
treeb6f1fe4776eaaa30f5f15e37d4962ff72f85b851 /templates/ingress
parentf4504129f6a1bfce8fc81f69b0f90f340acb1d34 (diff)
Stuff
Diffstat (limited to 'templates/ingress')
-rw-r--r--templates/ingress/etc_crontab.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/ingress/etc_crontab.j2 b/templates/ingress/etc_crontab.j2
index 7308565..0ec694d 100644
--- a/templates/ingress/etc_crontab.j2
+++ b/templates/ingress/etc_crontab.j2
@@ -6,5 +6,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
#
#minute hour mday month wday who command
-# Update LetsEncrypt certificates every day at 2:00 AM
-0 2 * * * root certbot certonly --nginx -n -m jan@jantuomi.fi --agree-tos -d {{ items }}
+# Update LetsEncrypt certificates every day after 2:00 AM
+{% for item in items %}
+{{ loop.index0 }} 2 * * * root certbot certonly --nginx -n -m jan@jantuomi.fi --agree-tos -d {{ item }}
+{% endfor %}