{"id":126,"date":"2024-11-07T05:41:43","date_gmt":"2024-11-07T05:41:43","guid":{"rendered":"https:\/\/blog.chaiyakul.com\/?p=126"},"modified":"2024-11-07T05:54:40","modified_gmt":"2024-11-07T05:54:40","slug":"seting-reboot-time-openwrt","status":"publish","type":"post","link":"https:\/\/blog.chaiyakul.com\/index.php\/2024\/11\/07\/seting-reboot-time-openwrt\/","title":{"rendered":"\u0e15\u0e31\u0e49\u0e07\u0e40\u0e27\u0e25\u0e32 Reboot \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 \u0e15\u0e2d\u0e19 0 \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 30 \u0e19\u0e32\u0e17\u0e35 \u0e17\u0e38\u0e01\u0e27\u0e31\u0e19 \u0e1a\u0e19 Router operwrt \u0e1c\u0e48\u0e32\u0e19 SSH"},"content":{"rendered":"\n<p>1.\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48 OpenWrt \u0e1c\u0e48\u0e32\u0e19 SSH:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\nssh root@&lt;ip \u0e02\u0e2d\u0e07 openwrt&gt;\n\n<\/pre><\/div>\n\n\n<p>2.\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c Cron:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncrontab -e\n<\/pre><\/div>\n\n\n<p>3.\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e43\u0e2b\u0e49\u0e23\u0e35\u0e1a\u0e39\u0e15\u0e17\u0e38\u0e01\u0e27\u0e31\u0e19 \u0e40\u0e0a\u0e48\u0e19 \u0e15\u0e2d\u0e19\u0e40\u0e27\u0e25\u0e32 00:30 \u0e19.:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n30 0 * * * \/sbin\/reboot\n<\/pre><\/div>\n\n\n<p>\u0e04\u0e27\u0e32\u0e21\u0e2b\u0e21\u0e32\u0e22\u0e02\u0e2d\u0e07\u0e41\u0e15\u0e48\u0e25\u0e30\u0e0a\u0e48\u0e2d\u0e07\u0e43\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>30<\/code> \u0e04\u0e37\u0e2d \u0e19\u0e32\u0e17\u0e35 (00:30)<\/li>\n\n\n\n<li><code>0<\/code> \u0e04\u0e37\u0e2d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07 (00:30)<\/li>\n\n\n\n<li><code>*<\/code> \u0e0a\u0e48\u0e2d\u0e07\u0e17\u0e35\u0e48\u0e2a\u0e32\u0e21\u0e04\u0e37\u0e2d \u0e27\u0e31\u0e19\u0e02\u0e2d\u0e07\u0e40\u0e14\u0e37\u0e2d\u0e19 (\u0e17\u0e38\u0e01\u0e27\u0e31\u0e19\u0e02\u0e2d\u0e07\u0e40\u0e14\u0e37\u0e2d\u0e19)<\/li>\n\n\n\n<li><code>*<\/code> \u0e0a\u0e48\u0e2d\u0e07\u0e17\u0e35\u0e48\u0e2a\u0e35\u0e48\u0e04\u0e37\u0e2d \u0e40\u0e14\u0e37\u0e2d\u0e19 (\u0e17\u0e38\u0e01\u0e40\u0e14\u0e37\u0e2d\u0e19)<\/li>\n\n\n\n<li><code>*<\/code> \u0e0a\u0e48\u0e2d\u0e07\u0e17\u0e35\u0e48\u0e2b\u0e49\u0e32\u0e04\u0e37\u0e2d \u0e27\u0e31\u0e19\u0e02\u0e2d\u0e07\u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c (\u0e17\u0e38\u0e01\u0e27\u0e31\u0e19\u0e43\u0e19\u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c)<\/li>\n\n\n\n<li><code>\/sbin\/reboot<\/code> \u0e04\u0e37\u0e2d \u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e43\u0e2b\u0e49\u0e23\u0e35\u0e1a\u0e39\u0e15\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07<\/li>\n<\/ul>\n\n\n\n<p>4.\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e44\u0e1f\u0e25\u0e4c:<\/p>\n\n\n\n<p>\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e41\u0e25\u0e30\u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e44\u0e1f\u0e25\u0e4c (\u0e16\u0e49\u0e32\u0e43\u0e0a\u0e49 nano \u0e43\u0e2b\u0e49\u0e01\u0e14 <code>Ctrl + X<\/code> \u0e15\u0e32\u0e21\u0e14\u0e49\u0e27\u0e22 <code>Y<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01)<\/p>\n\n\n\n<p>5.\u0e23\u0e35\u0e2a\u0e15\u0e32\u0e23\u0e4c\u0e17 Cron:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\/etc\/init.d\/cron restart\n<\/pre><\/div>\n\n\n<p>\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32<\/p>\n\n\n\n<p>\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 <code>crontab -l<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e35\u0e48\u0e15\u0e31\u0e49\u0e07\u0e44\u0e27\u0e49\u0e21\u0e35\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19 cron \u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncrontab -l\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>1.\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48 OpenWrt \u0e1c\u0e48\u0e32\u0e19 SSH: 2.\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c Cron: 3.\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e04\u0e33\u0e2a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","footnotes":""},"categories":[8],"tags":[],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-openwrt"],"_links":{"self":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":6,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":133,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/126\/revisions\/133"}],"wp:attachment":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}