-1

我为 windows 下载了 curl,我需要一个 bat 文件,它将每 2 分钟加载一个 url。有什么帮助吗?我的解决方案:

@echo off
:again
    C:/curl.exe -I http://site.ru/cron.php
    timeout /T 60
goto again
4

1 回答 1

1

我猜这个问题是timeout不存在的。

一种常见的技术是在批处理脚本中对 localhost 执行超时操作:

ping localhost -n 120
于 2013-05-10T22:00:48.513 回答