如下命令,/root/logs/product.log为日志路径


nohup /root/product.sh > /root/logs/product.log  &