<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに タスク登録 タスク一覧 タスク削除 はじめに タスクスケジューラ 操作用の schtasks コマンドのチートシートです。 Windows で定期的な処理を行う場合には、タスクスケジューラを利用すると思います。 Windows10 からは at コマンドが廃止されました。 schtasks を使うか、でなければ、WSL で cron 使ったり、WMIで ExecNotificationQuery から通知受けたりすることでスケジュールタスクを実行できます。 タスク登録 タスクの登録には /create を使います。 毎日 12:00 に実行するタスクは以下のように登録できます。 sc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2023%2F01%2F12%2F235241&quot; title=&quot;Windows で cron。 タスクスケジューラ schtasks コマンドの使い方 - A Memorandum&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/N/Naotsugu/20230112/20230112235205.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-12 23:52:41</published>
  <title>Windows で cron。 タスクスケジューラ schtasks コマンドの使い方</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/2023/01/12/235241</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
