Skip to content

Instantly share code, notes, and snippets.

@harald-aigner
harald-aigner / spDYN_update.sh
Created Sep 2, 2017
Script for updating spDYN dynamic DNS entries (https://spdyn.de)
View spDYN_update.sh
#!/bin/sh
#
# Script for updating spDYN dynamic DNS entries (https://spdyn.de)
#
# Usage:
# - Save this script as $HOME/bin/spDYN_update.sh
# - Make it executable: chmod u+x $HOME/bin/spDYN_update.sh
# - Create a cron entry (crontab -e) and supply <HOST_NAME> and <UPDATE_TOKEN>
# according to your spDYN settings. Example for running every 10 minutes:
# */10 * * * * $HOME/bin/spDYN_update.sh <HOST_NAME> <UPDATE_TOKEN> > /dev/null