#!/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
