linux crontab 隔秒执行
step=3 #间隔的秒数,不能大于60
for (( i = 0; i < 60; i=(i+step) )); do
$(curl http://xx.xxx)
sleep $step
done
step=3 #间隔的秒数,不能大于60
for (( i = 0; i < 60; i=(i+step) )); do
$(curl http://xx.xxx)
sleep $step
done