modify scripts
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user