[转] bat curl 定时请求
@echo off
:loop
call:sleep 30
::调用方法call:sleep [毫秒] (1秒=1000毫秒)
curl https://stage.coolfen.com/supplychain/api/health
echo.
::pause
goto loop
:sleep
set tmp="%temp%\tmp.vbs"
echo wscript.sleep %1>%tmp%&%tmp%&del %tmp%
goto :eof
飞过森林 看见海洋