加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
scheduler_booter.py 623 Bytes
一键复制 编辑 原始数据 按行查看 历史
resolvewang 提交于 2018-02-26 19:55 . fix bugs for squid client
"""
This module is used to start spider scheduler and validator scheduler.
You can start crawler scheduler using the following cmd:
python scheduler_booter.py --usage crawler
If you want to start common scheduler only, run:
python scheduler_booter.py --usage crawler common
While if you want to start validator scheduler, run:
python scheduler_booter.py --usage validator
Notice that the scheduler doesn't schedule init queue.
If you want to start https validator only, run:
python scheduler_booter.py --usage validator https
"""
from scheduler import scheduler_start
if __name__ == '__main__':
scheduler_start()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化