dongzhaorui 1 жил өмнө
parent
commit
aeedcb4d75

+ 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