wangkun 2 年之前
父節點
當前提交
0b77a0d1e0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gongzhonghao/gongzhonghao_main/run_gongzhonghao2_author_scheduling.py

+ 1 - 0
gongzhonghao/gongzhonghao_main/run_gongzhonghao2_author_scheduling.py

@@ -15,6 +15,7 @@ def main(log_type, crawler, task, env):
     while True:
         cmd = 'ps -ef | grep "run_gongzhonghao2_author_scheduling.py" | grep -v "grep"'
         result = os.popen(cmd).read()
+        Common.logger(log_type, crawler).info(f"len_result:{len(result)}")
         if len(result) > 573:
             Common.logger(log_type, crawler).info("公众号_2抓取未完成,无需启动新进程")
             time.sleep(1)