wangkun hace 2 años
padre
commit
434adbc9db
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      xigua.sh

+ 1 - 1
xigua.sh

@@ -12,6 +12,6 @@ cd /Users/piaoquan/Desktop/crawler/crawler_xigua/ && git pull origin master --fo
 echo "$(date "+%Y-%m-%d %H:%M:%S") 代码更新完成!"
 #source /etc/profile
 echo "$(date "+%Y-%m-%d %H:%M:%S") 正在重启服务..."
-nohup python3 -u main/run_xigua_follow.py >>./null 2>&1 &
+nohup python3 -u main/run_xigua_follow.py >>./nohup.log 2>&1 &
 echo "$(date "+%Y-%m-%d %H:%M:%S") 服务重启完毕!"
 exit 0