1 不记录日志 > /dev/null 2>&1 2 日志记录追加到指定文件 >> /path/mylog.log 2>&1 转载于:https://www.cnblogs.com/jackspider/p/6284835.html