使用道具 举报
Post by xiawuming 不行 只是脚本变成在后台运行了 还是在第一次root-tail停住了
Post by kiron 把root-tail的输出重定向,就不会影响前台作业了如: [PHP]while $null do root-tail message>>tmp.txt sllep 5s done &[/PHP]
Post by kiron 我是这样做的: while $null do echo "hello world">>tmp.txt sllep 5s done & 看有没有启发?
本版积分规则 发表回复 回帖后跳转到最后一页