Created
February 28, 2016 01:25
-
-
Save jhURJQVxkx/02945017bf679899e7e5 to your computer and use it in GitHub Desktop.
Raspberry PiでMyDNS.JPにIPアドレスを定期的に通知する ref: http://qiita.com/kaishero/items/ae9c4c845e0176d3d3e3
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
$ vi noticeIp.sh | |
#!/bin/bash | |
wget -O - 'http://mydns99999:abcdefg@www.mydns.jp/login.html' |
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
$ chmod 755 noticeIp.sh |
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
$ crontab -e | |
30 * * * * /home/username/noticeIp.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment