写一个shell脚本循环执行shell命令间隔1分钟。
#!/bin/bash while true do # 执行需要循环执行的shell命令 echo "hello world"
# 等待1分钟
sleep 60
done
原文地址: https://www.cveoy.top/t/topic/fiu6 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
#!/bin/bash while true do # 执行需要循环执行的shell命令 echo "hello world"
# 等待1分钟
sleep 60
done
原文地址: https://www.cveoy.top/t/topic/fiu6 著作权归作者所有。请勿转载和采集!