Win10 使用curl定時循環訪問

curl下載鏈接:http://curl.haxx.se/download.html  64位機器選擇版本如下:

 解壓縮至本地,在本目錄管理員運行cmd,或者配置環境變量可實現隨意目錄執行curl

創建bat文件,編碼定時訪問某url實現訪問量+1,如下:

:start
::延時5秒鐘
choice /t 3 /d y /n >nul
::訪問指定url並將輸出重定向至nul空文件
curl https://blog.csdn.net/qq_40082253/article/details/105611168 >nul

choice /t 5 /d y /n >nul
curl https://blog.csdn.net/qq_40082253/article/details/105583118 >nul

::延時90秒
choice /t 90 /d y /n >nul

::循環執行
goto start

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章