定时5秒调用接口
#!/bin/bash
while true; do
curl http://192.168.1.1:8080/api/test
echo -e "\n$(date +%Y-%m-%d_%H:%M:%S) ->调用成功"
sleep 4
done
shell脚本系列---【定时5秒调用接口】
阅读 8
2024-01-22
#!/bin/bash
while true; do
curl http://192.168.1.1:8080/api/test
echo -e "\n$(date +%Y-%m-%d_%H:%M:%S) ->调用成功"
sleep 4
done
相关推荐
精彩评论(0)