<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>Raspberry Pi</anon>
  </categories>
  <description>前回、Raspberry Pi でサーバーを建てたのはいいのだけれども、 うちはグローバル IP アドレスがちょくちょく変わるので、 cron でなんとかしてみる。 前回の記事 Raspberry Pi 2 を入手したので、いろいろやってみる このままでもいいけども、IP アドレスが変わってアクセスできなくなるのは困るので、 cron とかを使って、 IP アドレスを監視し、変わっていたら変更を適用させます。 とりあえず、cron で 10 分おきくらいでタスクを実行させてみます。 crontab -e できたら、これは使わないほうがいい*1](#f-28b15ce5 &quot;http://d.ha…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2015%2F09%2F03%2Fraspberry-pi-2-cron-ip-address-monitoring&quot; title=&quot;Raspberry Pi 2 で cron を使って IPアドレスを監視する - なつねこメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-02 15:00:00</published>
  <title>Raspberry Pi 2 で cron を使って IPアドレスを監視する</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2015/09/03/raspberry-pi-2-cron-ip-address-monitoring</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
