Created
May 25, 2016 20:58
-
-
Save xardit/5d296f511092ab34dc9bfc9c69b23a6f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### duck.sh ### | |
#!/bin/sh | |
echo url="https://www.duckdns.org/update?domains=$1&token=$2&ip=$3" | curl -k -o ~/.logs/duck.log -K - | |
#### | |
#add to cron | |
*/5 * * * * duck.sh my_subdomain_name my_key >/dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment