提示:如果提示curl不是内部命令,请自行百度 windows 安装curl
@echo off color 1f title 正在监控 echo 正在监控http://ioscheck.duapp.com/app/ios/check_test.json... :aaa curl -s http://app-static.acc5.com/check_test.json>check.txt set /p str=<check.txt echo [%Date:~0,4%-%Date:~5,2%-%Date:~8,2% %time:~0,2%:%time:~3,2%:%time:~6,2%] %str% ping 1.1.1.1 -n 1 -w 10000 > nul goto aaa pause