解决定时任务产生的文件

* * * * *  sh test.sh  &>/dev/null  #产生的正确信息或错误信息重定向到黑洞里

猜你喜欢

转载自www.cnblogs.com/zhugq02/p/12046056.html