wangkun vor 2 Jahren
Ursprung
Commit
fb7bb3d763
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      kanyikan.sh

+ 1 - 1
kanyikan.sh

@@ -11,7 +11,7 @@ echo "$(date "+%Y-%m-%d %H:%M:%S") 进程已杀死!"
 echo "$(date "+%Y-%m-%d %H:%M:%S") 正在更新代码..."
 cd /Users/lieyunye/Desktop/crawler/crawler_kanyikan/ && git pull origin master --force
 echo "$(date "+%Y-%m-%d %H:%M:%S") 代码更新完成!"
-source /etc/profile
+#source /etc/profile
 echo "$(date "+%Y-%m-%d %H:%M:%S") 正在重启服务..."
 nohup python3 -u main/run_kanyikan_recommend.py >>./nohup.log 2>&1 &
 nohup python3 -u main/run_kanyikan_moment.py >>./nohup.log 2>&1 &