Last active
December 19, 2023 02:13
-
-
Save testpilot031/65111d9eaae59adc0ac8674be02a1892 to your computer and use it in GitHub Desktop.
bat file include curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for /l %%n in (1,1,60) do ( | |
time | |
rem curl -m 2 -I https://www.google.com -s -o nul -w "%{http_code}" | |
curl https://www.google.com -m 2 -o nul -s -w "%%{http_code}" | |
echo; | |
timeout /t 10 > nul | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment