소스 검색

更新文档

dongzhaorui 1 년 전
부모
커밋
aeedcb4d75
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      zgztb_cookie/FworkSpider/README.md

+ 3 - 1
zgztb_cookie/FworkSpider/README.md

@@ -27,6 +27,8 @@
 
 #### 添加定时配置
     # 列表页爬虫
-    10 * * * * flock -xn /mnt/zgzbtb_spider.py -c 'cd /mnt && python3 zgzbtb_spider.py'
+    10 * * * * flock -xn /mnt/zgzbtb_spider.py -c 'cd /mnt && nohup python3 zgzbtb_spider.py > /dev/null &'
+    */5 * * * * flock -xn /mnt/zgzbtb_spider_m.py -c 'cd /mnt && nohup python3 zgzbtb_spider_m.py > /dev/null &'
+    */10 * * * * flock -xn /mnt/zgzbtb_spider_d.py -c 'cd /mnt && nohup python3 zgzbtb_spider_d.py > /dev/null &'
     # 详情页爬虫
     */5 * * * * bash /mnt/start.sh