LoginSignup
1
0

More than 3 years have passed since last update.

MYDNSにIPアドレスを自動通知する(失敗)

Posted at

MYDNSにIPアドレスを自動通知する

自分の備忘録用に、失敗した

pi@raspberrypi:/ $ sudo mkdir /etc/cron.everyday/
pi@raspberrypi:/ $ sudo nano /etc/cron.everyday/mydns.sh
pi@raspberrypi:/ $ sudo crontab -e
no crontab for root - using an empty one

Select an editor.  To change later, run 'select-editor'.
  1. /bin/nano        <---- easiest
  2. /usr/bin/vim.tiny
  3. /bin/ed

Choose 1-3 [1]: 1
crontab: installing new crontab
pi@raspberrypi:/ $ sudo chmod +x /etc/cron.everyday/mydns.sh
pi@raspberrypi:/ $ /etc/cron.everyday/mydns.sh
‘http://ID:pass@www.mydns.jp/login.html’: スキームがありません.
pi@raspberrypi:/ $ sudo nano /etc/cron.everyday/mydns.sh
pi@raspberrypi:/ $ /etc/init.d/cron reload
[ ok ] Reloading configuration files for periodic command scheduler: cron.

結論:スキームがありませんって言われた 時間あるとき、また更新してみて進捗載せます

参考記事:MyDNSにIPアドレスを自動通知

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0