shell 每秒调用某个地址的方法

#!/bin/bash
step=1
for (( i = 0; i < 60; i=(i+step) )); do
 curl http://fn.k6akg6f.bar/chat.php
    sleep $step
done
exit 0

 

posted on 2022-03-09 18:20  泽一年  阅读(36)  评论(0编辑  收藏  举报

导航