标签:ash done shel bin 间隔 sleep div shell highlight
#!/bin/bash
step=30 #间隔的秒数,不能大于60
for (( i = 0; i < 60; i=(i+step) )); do
curl #调用链接
sleep $step
done
exit 0
标签:ash done shel bin 间隔 sleep div shell highlight
原文地址:https://www.cnblogs.com/lovekingly/p/9744808.html