浏览代码

更新文档

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