byfboke

#!/bin/bash
step=1 #间隔的秒数,不能大于60
for (( i = 0; i < 60; i=(i+step) )); do
$(/bin/sh \'/root/acb.sh\')
sleep $step
done
exit 0

 

crontab -e   

* * * * * /bin/sh /root/ccc.sh

分类:

技术点:

相关文章:

  • 2021-10-18
  • 2021-11-19
  • 2021-12-25
  • 2021-12-23
  • 2021-11-03
  • 2021-11-19
猜你喜欢
  • 2021-11-19
  • 2021-09-08
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
  • 2021-08-19
  • 2021-11-29
相关资源
相似解决方案