{"id":8071,"date":"2022-12-25T18:00:00","date_gmt":"2022-12-25T09:00:00","guid":{"rendered":"https:\/\/na-3.com\/wp_na-blog\/?p=8071"},"modified":"2024-12-09T11:55:36","modified_gmt":"2024-12-09T02:55:36","slug":"%e5%ae%9a%e6%99%82%e3%82%b7%e3%83%a3%e3%83%83%e3%83%88%e3%83%80%e3%82%a6%e3%83%b3","status":"publish","type":"post","link":"https:\/\/na-3.com\/wp_na-blog\/2022\/12\/25\/%e5%ae%9a%e6%99%82%e3%82%b7%e3%83%a3%e3%83%83%e3%83%88%e3%83%80%e3%82%a6%e3%83%b3\/","title":{"rendered":"\u5b9a\u6642\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3"},"content":{"rendered":"\n<p>\u30b5\u30fc\u30d0\u30fc\u3092\u6c7a\u307e\u3063\u305f\u6642\u9593\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u306e\u3067\uff0c\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u767b\u9332\u3059\u308b\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-thumbnail\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/na-3.com\/wp_na-blog\/wp-content\/uploads\/2022\/12\/tx100s3-201110-35-150x150.jpg\" alt=\"\" class=\"wp-image-8042\"\/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u767b\u9332<\/h2>\n\n\n\n<p>\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30b3\u30de\u30f3\u30c9\u3092\u6c7a\u307e\u3063\u305f\u6642\u9593\u306b\u5165\u529b\u3055\u305b\u308b\u305f\u3081\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u767b\u9332\u3059\u308b\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3067\uff0c\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u306b\u5165\u308c\u3066\u7f6e\u3051\u3070\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5\u6642\u306bSC\u767b\u9332\u53ef\u5426\u3092\u5f53\u65e5\u306e\u904b\u7528\u72b6\u6cc1\u306b\u3088\u308a\u5224\u65ad\u3067\u304d\u308b\u3002\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u6642\u9593(\u4f8b\uff1a17\u664220\u5206)\u306f\uff0c18\u884c\u76ee\u306b5\u5206\u524d\u306e\u6642\u523b\u3092\u6307\u5b9a\u3059\u308b\u3002(\u4f8b\uff1a17:15)<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-file=\"shutdown_sc1720.bat\" data-lang=\"JavaScript\" data-line=\"18\"><code>@rem \u5b9a\u6642\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u767b\u9332\n@ECHO OFF\nECHO +---------------------------------------------+\nECHO \u672c\u65e5\u306e\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u767b\u9332\u3057\u307e\u3059\u3002\nECHO +---------------------------------------------+\n@rem timeout \/t 10 \/nobreak\n:INPUT_CONF\nECHO +-----------------------------+\nECHO \u672c\u65e5\u306f17\u664220\u5206\u306b\u7d42\u4e86\u3057\u307e\u3059\u304b\u3002\nECHO  ( Y \/ N )\nECHO +-----------------------------+\nSET CONF_SELECT=\nSET \/P CONF_SELECT=\n\nIF &quot;%CONF_SELECT%&quot;==SET CONF_SELECT=Y\nIF \/I NOT &quot;%CONF_SELECT%&quot;==&quot;Y&quot; GOTO :INPUT_END\n\nschtasks \/create \/tn shutdown-once \/tr &quot;c:\\users\\admin\\shutdown-sc\\5m-down.bat&quot; \/sc once \/st 17:15 \/f\nREM schtasks \/create \/tn shutdown-once \/tr &quot;shutdown \/s \/f \/t 300 \/d p:0:0&quot; \/sc once \/st 17:15 \/f\n\nECHO +-------------------------------+\nECHO 17\u664220\u5206\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u307e\u3059\u3002\nECHO +-------------------------------+\nPAUSE\nEXIT\n\n:INPUT_END\nschtasks \/delete \/tn shutdown-once \/f\nECHO +-------------------------------------------------+\nECHO \u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u306f\u767b\u9332\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\nECHO +-------------------------------------------------+\nPAUSE\nEXIT\n<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3<\/h2>\n\n\n\n<p>shutdown\u30b3\u30de\u30f3\u30c9\u5165\u529b\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb<br>\u3000\u3000\u30d5\u30a1\u30a4\u30eb\u540d\uff1a5m-down.bat\u3000\u3000(\u4fdd\u5b58\u5834\u6240\u4f8b\uff1ac:\\users\\admin\\shutdown-sc\\)<br>\u4e0a\u8a18\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u304b\u3089\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f35\u5206\u524d\u306b\u8d77\u52d5\u3055\u305b\u308b\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3067\uff0c\u505c\u6b625\u5206\u524d\u8b66\u544a\u30682\u5206\u524d\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u3066\uff0c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5f37\u5236\u7d42\u4e86\u3057\u3066\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3059\u308b\u3002\u4e0a\u8a18SC\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306e18\u884c\u76ee\u306b\u4fdd\u5b58\u5834\u6240\u30fb\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3059\u308b\u3002<br>\u4f8b\uff1a\u201dc:\\users\\admin\\shutdown-sc\\5m-down.bat\u201d \u306b\u5909\u3048\u3066\u76f4\u63a5\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u6307\u5b9a\u3057\u3066\u3082OK<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-file=\"5m-down.bat\" data-lang=\"JavaScript\"><code>@rem 300\u79d2(5\u5206)\u5f8c\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\nshutdown \/s \/f \/t 300 \/d p:0:0<\/code><\/pre><\/div>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u62e1\u5f35\u7248<\/h2>\n\n\n\n<p>\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u6642\u9593\u6307\u5b9a\u53ef\u80fd\u3000\u3000\u5225\u9014bat\u30d5\u30a1\u30a4\u30eb\u4e0d\u8981<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-file=\"start_shutdown.bat\" data-lang=\"JavaScript\"><code>@rem \u5b9a\u6642\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u767b\u9332  start_shutdown.bat\n@ECHO OFF\nECHO +---------------------------------------------+\nECHO \u672c\u65e5\u306e\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u767b\u9332\u3057\u307e\u3059\u3002\nECHO +---------------------------------------------+\n@rem timeout \/t 10 \/nobreak\n:INPUT_CONF\nECHO +-----------------------------+\nECHO \u672c\u65e5\u306f17\u664220\u5206\u306b\u7d42\u4e86\u3057\u307e\u3059\u304b\u3002\nECHO  ( Y \/ N )\nECHO +-----------------------------+\nSET CONF_SELECT=\nSET \/P CONF_SELECT=\n\nIF &quot;%CONF_SELECT%&quot;==SET CONF_SELECT=Y\nIF \/I NOT &quot;%CONF_SELECT%&quot;==&quot;Y&quot; GOTO :INPUT_PM\n\nschtasks \/create \/tn shutdown-once \/tr &quot;shutdown \/s \/f \/t 300 \/d p:0:0&quot; \/sc once \/st 17:15 \/f\n\nECHO +-------------------------------+\nECHO 17\u664220\u5206\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u307e\u3059\u3002\nECHO +-------------------------------+\ntimeout \/t 5 \/nobreak\n@rem PAUSE\nEXIT\n\n\n:INPUT_PM\nECHO +-----------------------------+\nECHO \u672c\u65e5\u306f12\u664200\u5206\u306b\u7d42\u4e86\u3057\u307e\u3059\u304b\u3002\nECHO  ( Y \/ N )\nECHO +-----------------------------+\nSET CONF_SELECT=\nSET \/P CONF_SELECT=\n\nIF &quot;%CONF_SELECT%&quot;==SET CONF_SELECT=Y\nIF \/I NOT &quot;%CONF_SELECT%&quot;==&quot;Y&quot; GOTO :INPUT_HHMM\n\nschtasks \/create \/tn shutdown-once \/tr &quot;shutdown \/s \/f \/t 300 \/d p:0:0&quot; \/sc once \/st 11:55 \/f\n\nECHO +-------------------------------+\nECHO 12\u664200\u5206\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u307e\u3059\u3002\nECHO +-------------------------------+\ntimeout \/t 5 \/nobreak\n@rem PAUSE\nEXIT\n\n\n:INPUT_HHMM\nECHO +--------------------------------------+\nECHO \u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u6642\u9593(-5\u5206)\u3092\u5165\u529b\u3057\u307e\u3059\u304b\u3002\nECHO   (HH:MM \/ N )\nECHO +--------------------------------------+\nSET CONF_SELECT=\nSET \/P CONF_SELECT=\n\nIF &quot;%CONF_SELECT%&quot;==SET CONF_SELECT=N\nIF \/I NOT &quot;%CONF_SELECT%&quot;==&quot;N&quot; GOTO :INPUT_CUSTM\n\nschtasks \/delete \/tn shutdown-once \/f\nECHO +-------------------------------------------------+\nECHO \u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u306f\u767b\u9332\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\nECHO +-------------------------------------------------+\ntimeout \/t 5 \/nobreak\n@rem PAUSE\nEXIT\n\n:INPUT_CUSTM\nschtasks \/create \/tn shutdown-once \/tr &quot;shutdown \/s \/f \/t 300 \/d p:0:0&quot; \/sc once \/st %CONF_SELECT% \/f\nECHO +-------------------------------+\nECHO %CONF_SELECT% +5\u5206\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u307e\u3059\u3002\nECHO +-------------------------------+\ntimeout \/t 5 \/nobreak\n@rem PAUSE\nEXIT\n<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30fc\u30d0\u30fc\u3092\u6c7a\u307e\u3063\u305f\u6642\u9593\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u306e\u3067 <a class=\"more-link\" href=\"https:\/\/na-3.com\/wp_na-blog\/2022\/12\/25\/%e5%ae%9a%e6%99%82%e3%82%b7%e3%83%a3%e3%83%83%e3%83%88%e3%83%80%e3%82%a6%e3%83%b3\/\">\u7d9a\u304d\u3092\u8aad\u3080 &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":285,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"ngg_post_thumbnail":0,"footnotes":""},"categories":[48,52,47],"tags":[413,412,617,414,415],"class_list":["post-8071","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","category-software","category-computer","tag-shutdown","tag-412","tag-617","tag-414","tag-415"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/posts\/8071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/comments?post=8071"}],"version-history":[{"count":17,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/posts\/8071\/revisions"}],"predecessor-version":[{"id":9724,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/posts\/8071\/revisions\/9724"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/media\/285"}],"wp:attachment":[{"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/media?parent=8071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/categories?post=8071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/tags?post=8071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}