热点科技
标题:
[求助] 需要本地检测不到网络,就重启动的软件
[打印本页]
作者:
amen2003
时间:
2007-5-15 15:18
标题:
[求助] 需要本地检测不到网络,就重启动的软件
需要本地检测不到网络,就重启动的软件
需要本地检测不到网络,就重启动的软件
作者:
liangyi7788488
时间:
2007-5-15 15:22
直接来个批处理可能可以实现吧,呵呵
作者:
afei613
时间:
2007-5-15 15:25
ruhe shezhi
作者:
jasonniu
时间:
2007-5-15 15:29
简单:ping某个网站,比如ping
www.baidu.com
如果没有返回数据,就重启,命令为shutdown
作者:
jiahaiyu
时间:
2007-5-15 15:49
帮我写个批处理,需要每隔几分钟ping一次,超过5分钟不通重启动,谢谢。
作者:
lzalovegl
时间:
2007-5-15 17:10
这段代码,如何修改成5分钟检查
@echo 检查中......
@echo off
echo execute-date:>>c:\checktoreboot.log
date /t>>c:\checktoreboot.log
echo execute-time:>>c:\checktoreboot.log
time /t>>c:\checktoreboot.log
set hh=%time:~0,2%
set /a hh +=1
if /i %hh% GEQ 24 set /a hh = 0
at %hh%:00 C:\CheckToReboot.bat
ping -n 1
www.baidu.com
|find "Request" && shutdown -r
echo ==============================================>>c:\checktoreboot.log
@echo on
@echo 检查完毕!
作者:
candyguan9
时间:
2007-5-19 09:31
标题:
希望大家踊
希望大家踊跃发言,我顶先
欢迎光临 热点科技 (http://www.itheat.com/activity/)
Powered by Discuz! X3.2