aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ingress/etc_crontab.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-30 12:27:07 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-30 12:34:05 +0200
commitdb38812d2daa7e19e74ae1b4ee9131eba06998bb (patch)
tree010a25ea0c0485c9a77dadc799394428e6c11291 /templates/ingress/etc_crontab.j2
parent5c1f0e17b8b0e9ebba6078854c1224e7f5d93ac2 (diff)
Migrate to new Hetzner DNS API
Diffstat (limited to 'templates/ingress/etc_crontab.j2')
-rw-r--r--templates/ingress/etc_crontab.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ingress/etc_crontab.j2 b/templates/ingress/etc_crontab.j2
index d78e769..3aa39e1 100644
--- a/templates/ingress/etc_crontab.j2
+++ b/templates/ingress/etc_crontab.j2
@@ -13,7 +13,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
# Update dynamic DNS (Hetzner)
{% for elem in hetzner_zone_record_ids %}
-* * * * * root /usr/local/bin/hetzner_ddns.sh --zone-id '{{ elem.zone_id }}' --record-id '{{ elem.record_id }}' --record-name '{{ elem.name }}' --record-type '{{ elem.type }}' --ttl '{{ elem.ttl }}' --iface-cmd 'ifconfig epw1b' >>/var/log/hetzner_ddns.log 2>&1
+* * * * * root /usr/local/bin/hetzner_ddns.sh --zone '{{ elem.zone }}' --rr-id '{{ elem.rr_id }}' --iface-cmd 'ifconfig epw1b' >>/var/log/hetzner_ddns.log 2>&1
{% endfor %}
# Update goaccess report HTML