modify scripts

This commit is contained in:
2025-07-20 11:18:52 +08:00
parent e6e7680542
commit c81d4c49c7

View File

@ -79,7 +79,7 @@ BASE_SPIDER_CLOSE_ON_MAX_RETRIES = False
# 配置统计导出参数
STATS_PUSH_MSG = True
STATS_EXPORT_INTERVAL = 1800 # 每10分钟导出一次
STATS_EXPORT_SCRIPT = '/root/projects/resources/scrapy_proj/scrapy_proj/extensions/push_to_wecom.sh' # 本地shell脚本路径
STATS_EXPORT_SCRIPT = 'scrapy_proj/extensions/push_to_wecom.sh' # 本地shell脚本路径,相对路径
TWISTED_REACTOR = 'twisted.internet.epollreactor.EPollReactor' # 适用于Linux