From 29eb2e6cc469d9534c2586e98b782f1879bd8c76 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 6 Oct 2025 13:18:33 +0300 Subject: Refactor, add certbot to cron --- templates/ingress/etc_crontab.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/ingress/etc_crontab.j2 (limited to 'templates/ingress/etc_crontab.j2') diff --git a/templates/ingress/etc_crontab.j2 b/templates/ingress/etc_crontab.j2 new file mode 100644 index 0000000..7308565 --- /dev/null +++ b/templates/ingress/etc_crontab.j2 @@ -0,0 +1,10 @@ +# /etc/crontab - root's crontab for FreeBSD +# +# +SHELL=/bin/sh +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 }} -- cgit v1.3