<br />
<b>Warning</b>:  Use of undefined constant WP_ALLOW_REPAIR - assumed 'WP_ALLOW_REPAIR' (this will throw an Error in a future version of PHP) in <b>/var/www/wordpress/wp-config.php</b> on line <b>17</b><br />
{"id":196,"date":"2015-04-15T21:53:15","date_gmt":"2015-04-15T13:53:15","guid":{"rendered":"http:\/\/owemeawe.com\/?p=196"},"modified":"2015-04-15T21:53:15","modified_gmt":"2015-04-15T13:53:15","slug":"ping-check","status":"publish","type":"post","link":"https:\/\/peloo.net\/?p=196","title":{"rendered":"ping-check"},"content":{"rendered":"<p>@echo off<br \/>\ncolor 0a<br \/>\ntitle ping check script<br \/>\nmode con:cols=80 lines=40<br \/>\ndir c:\\ping_log || mkdir c:\\ping_log<br \/>\ncls<br \/>\necho %time% %date% \u5f00\u59cb\u6d4b\u8bd5 &gt;&gt; ping.log<\/p>\n<p>:loo<br \/>\necho \u6b63\u5728\u8fdb\u884cping\u68c0\u6d4b\uff0c\u8bf7\u7a0d\u5019...<br \/>\necho ^|^|<br \/>\necho ^|^|<br \/>\nping -n 2 127.1 1&gt;nul 2&gt;nul<br \/>\necho ^|^|<br \/>\nping -n 2 127.1 1&gt;nul 2&gt;nul<br \/>\necho \\\/<br \/>\nping -n 2 127.1 1&gt;nul 2&gt;nul<\/p>\n<p>ping -n 2 yy.com &gt; log.log<br \/>\nset \/a a=0<br \/>\nfor \/f %%i in ('findstr -i ttl log.log') do set \/a a=a+1<br \/>\nif %a% equ 0 goto :general<br \/>\nif %a% equ 2 echo ff 1&gt;nul 2&gt;nul<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho \u5f53\u524d\u8fde\u63a5\u6b63\u5e38<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho %time% %date% connection OK &gt;&gt; ping.log<br \/>\nping -n 2 127.1 1&gt;nul 2&gt;nul<br \/>\ncls<br \/>\ngoto :loo<\/p>\n<p>:general<br \/>\nset \/a b=0<br \/>\nfor \/f %%i in ('findstr -i general log.log') do set \/a b+=1<br \/>\nif %b% equ 0 goto :timeout<br \/>\nif %b% equ 2 echo ff 1&gt;nul<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho \u65ad\u7ebf\u54af<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho %time% %date% \u65ad\u7ebf &gt;&gt; ping.log<br \/>\n:timeout<br \/>\nset \/a c=0<br \/>\nfor \/f %%i in ('findstr -i out log.log') do set \/a c+=1<br \/>\nif %c% equ 0 goto :timeout_2<br \/>\nif %c% equ 2 echo ff 1&gt;nul<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho \u65ad\u7ebf\u54af<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho %time% %date% \u65ad\u7ebf &gt;&gt; ping.log<br \/>\n:timeout_2<br \/>\nset \/a d=0<br \/>\nfor \/f %%i in ('findstr -i \u65e0\u6cd5\u8bbf\u95ee\u76ee\u6807\u4e3b\u673a log.log') do set \/a d+=1<br \/>\nif %d% equ 0 goto :timeout_3<br \/>\nif %d% equ 2 echo ff 1&gt;nul<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho \u65ad\u7ebf\u54af<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho %time% %date% \u65ad\u7ebf &gt;&gt; ping.log<br \/>\n:timeout_3<br \/>\nset \/a e=0<br \/>\nfor \/f %%i in ('findstr -i \u8d85\u65f6 log.log') do set \/a e+=1<br \/>\nif %e% equ 0 goto :loo<br \/>\nif %e% equ 2 echo ff 1&gt;nul<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho \u65ad\u7ebf\u54af<br \/>\necho -----------------------------------------------------------------------------<br \/>\necho %time% %date% \u65ad\u7ebf &gt;&gt; ping.log<\/p>\n<p>ping -n 2 127.1 1&gt;nul 2&gt;nul<br \/>\ncls<br \/>\ngoto :loo<\/p>\n","protected":false},"excerpt":{"rendered":"<p>@echo off color 0a title ping check script mode con:cols=80 lines=40 dir c:\\ping_log || mkdir c:\\ping_log cls echo %time% %date% \u5f00\u59cb\u6d4b\u8bd5 &gt;&gt; ping.log :loo echo \u6b63\u5728\u8fdb\u884cping\u68c0\u6d4b\uff0c\u8bf7\u7a0d\u5019&#8230; echo ^|^| echo ^|^| ping -n 2 127.1 1&gt;nul 2&gt;nul echo ^|^| ping -n 2 127.1 1&gt;nul 2&gt;nul echo \\\/ ping -n 2 127.1 1&gt;nul 2&gt;nul ping -n 2&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-196","post","type-post","status-publish","format-standard","hentry","category-bat"],"aioseo_notices":[],"brizy_media":[],"_links":{"self":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=196"}],"version-history":[{"count":1,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":197,"href":"https:\/\/peloo.net\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions\/197"}],"wp:attachment":[{"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peloo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}