dyndns/entrypoint.sh
2025-03-23 12:10:48 +01:00

14 lines
200 B
Bash

#!/bin/bash
# Function to run the DynDNS update
run_dyndns() {
echo "Running DynDNS update at $(date)"
./DynDNS
}
# Then run every 5 minutes
while true; do
run_dyndns
sleep 300
done