netz39-infra-ansible/roles/dd24_dyndns_cron/templates/dd24-dyndns.cron.j2

7 lines
362 B
Text
Raw Normal View History

# /etc/cron.d/dd24-dyndns: Cron call to renew DynDNS entry
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/5 * * * * root curl --silent --show-error "https://dynamicdns.key-systems.net/update.php?hostname={{dyndns_domain}}&password={{dyndns_password}}&ip={{dyndns_ip}}" > /dev/null 2> >(/usr/bin/logger -p user.error -t dd24)