linux crontab 隔秒执行

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

原文地址:https://www.cnblogs.com/yubestman/p/7629126.html