shell脚本循环执行任务的脚本

来源:互联网 发布:macbook pro效率软件 编辑:程序博客网 时间:2024/05/06 23:57

#! /bin/sh

while true;  do ./test.sh > test.txt; sleep 3; done


最近研究了下shell,如上true代表循环执行 do 后接执行命令 sleep沉睡时间 done结束

0 0
原创粉丝点击