|
@@ -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
|