Skip to content

Instantly share code, notes, and snippets.

View bomale's full-sized avatar
😛

Alessandro bomale

😛
View GitHub Profile
@bomale
bomale / ddns-update
Last active May 20, 2022 14:23 — forked from ndunks/ddns-update
Namecheap DDNS Updater Bash Script
# make it executable `chmod +x ddns-update`
# move it path `mv ddns-update /usr/bin/`
# setup cronjob for every 15 minutes `crontab -e`
# */15 * * * * ddns-update >/dev/null 2>&1
# dont forget to change your own domain & password
# uncomment if you want internet connection check before running
#while ! ping -c 1 -W 1 8.8.8.8; do
# echo "DDNS-UPDATE: Waiting internet connection.."
# sleep 2