<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>snaka72</author_name>
  <author_url>https://blog.hatena.ne.jp/snaka72/</author_url>
  <blog_title>今日もスミマセン。</blog_title>
  <blog_url>https://snaka72.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>windows</anon>
  </categories>
  <description>Running a Ruby Program as a Windows Service? - Stack Overflow コードは上記のサイトの丸写し とりあえず、Windowsサービスが作れたので自分メモ下記コードを動かすためには win32-service というgemが必要 事前に gem install win32-service -rでインストールしておく コード bar.rb : サービス本体 deamonとしてサービス本体を実装 register_bar.rb : サービスを登録するスクリプト サービスを実際に動かすためにはサービスとして登録してあげる必要がある。 unregi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsnaka72.hatenadiary.org%2Fentry%2F20090624%2F1245873500&quot; title=&quot;RubyでWindowsのサービスを実装するサンプル - 今日もスミマセン。&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>2009-06-24 04:58:20</published>
  <title>RubyでWindowsのサービスを実装するサンプル</title>
  <type>rich</type>
  <url>https://snaka72.hatenadiary.org/entry/20090624/1245873500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
