<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AJYA</author_name>
  <author_url>https://blog.hatena.ne.jp/AJYA/</author_url>
  <blog_title>ソフトウェア開発者の日常</blog_title>
  <blog_url>https://ajya.hatenablog.jp/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>C#でGUIがあるプログラムを作成しています。 ajya.hatenablog.jp定期的に実行したい機能があります。 定期的に実行したいタイミングは、毎日0時です。毎日0時に実行という設定ができればいいのですが、検索して情報を探した結果、見つかりませんでした。 C#にタイマーがあるのはわかったので、使い方を検索したら、以下のページが見つかりました。 teratail.comこちらのページの回答の、一番評価が高い回答のコードの通りにすれば、0時に実行はできるようになります。 残念ながら、僕の開発環境では、 timer1 = new Timer(Method1, null, time1, new…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajya.hatenablog.jp%2Fentry%2F2021%2F08%2F17%2F233000&quot; title=&quot;c# タイマーを使った定期処理 - ソフトウェア開発者の日常&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>https://cdn-ak.f.st-hatena.com/images/fotolife/A/AJYA/20210818/20210818232315.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-17 23:30:00</published>
  <title>c# タイマーを使った定期処理</title>
  <type>rich</type>
  <url>https://ajya.hatenablog.jp/entry/2021/08/17/233000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
