Mr.Bean 发表于 2025-4-6 17:21:10

win nas用的ping关机

<i class="pstatus"> 本帖最后由 Mr.Bean 于 2025-4-6 17:48 编辑 </i><br />
<br />
<img id="aimg_p9gjD" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://a1.boltp.com/2025/04/06/67f24713a06d9.png" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
<br />
rt,90块钱买的ups,没有通信接口,写了个简单的判断<br />
<br />
ping路由器,ping不通就关机,也可以ping其他设备,只要断电时候那个设备ping不通就可以<br />
<br />
源码+软件,害怕自己编译,2025年4月6日 17:39:23 延迟换时钟了,延迟cpu占用太高,时钟好点

yanzhiling2002 发表于 2025-4-7 01:35:32

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16316108&ptid=1400838" target="_blank"><font color="#999999">Mr.Bean 发表于 2025-4-6 18:11</font></a></font><br />
也行,不过我不会</blockquote></div><br />
用deepseek给你写一个,很简单的脚本

三鹿奶粉 发表于 2025-4-6 18:11:00

都有AI了,还用几把易语言

Edisen 发表于 2025-4-6 17:28:26

<img src="https://hostloc.com/static/image/smiley/default/sweat.gif" smilieid="10" border="0" alt="" />

Mr.Bean 发表于 2025-4-6 17:24:34

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16316057&ptid=1400838" target="_blank"><font color="#999999">三鹿奶粉 发表于 2025-4-6 17:28</font></a></font><br />
都有AI了,还用几把易语言</blockquote></div><br />
图形化界面还是易语言简单点

yanzhiling2002 发表于 2025-4-6 17:40:16

这是什么需求场景,ping不通就关机 ? 楼主的需求 bat脚本也可以实现吧

Mr.Bean 发表于 2025-4-6 17:28:00

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16316096&ptid=1400838" target="_blank"><font color="#999999">yanzhiling2002 发表于 2025-4-6 18:00</font></a></font><br />
这是什么需求场景,ping不通就关机 ? 楼主的需求 bat脚本也可以实现吧</blockquote></div><br />
也行,不过我不会<img src="https://hostloc.com/static/image/smiley/yct/020.gif" smilieid="47" border="0" alt="" />
页: [1]
查看完整版本: win nas用的ping关机