推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
aiqniyuan
V2EX  ›  Python

小白求教! Python 脚本的自动化调度可以用什么来实现?

  •  
  •   aiqniyuan · Dec 20, 2018 · 3217 views
    This topic created in 2725 days ago, the information mentioned may be changed or developed.
    求问各位大神,python 脚本的自动化调度可以用什么来实现?自己用了 windows 自带的定时任务可以实现,但是除了这种方法还有别的实现方法吗?有什么可视化的调度工具吗?请各位指教,不胜感激!
    9 replies    2018-12-21 09:57:47 +08:00
    LinSP
        1
    LinSP  
       Dec 20, 2018
    celery?
    xpresslink
        2
    xpresslink  
       Dec 20, 2018
    方法很多,
    threading.Timer
    sched
    不过其实还是用 OS 的定时任务简单可靠。
    因为你的脚本要搞成守护进程防止挂掉。
    aiqniyuan
        3
    aiqniyuan  
    OP
       Dec 20, 2018
    不是啊,大神们。我是想要一个可视化的调度工具去调 python 来执行.py 脚本,类似于我在 windows 系统上设的定时任务。
    RangerWolf
        4
    RangerWolf  
       Dec 20, 2018
    强烈推荐 jenkins

    我司用 jenkins 来完全一些列自动化脚本的管理与执行。
    winglight2016
        5
    winglight2016  
       Dec 20, 2018
    服务器一般用 linux 吧,一般会用 supervise,node 项目会用 pm2,Windows 上就不了解了
    jarry118
        6
    jarry118  
       Dec 20, 2018   ❤️ 1
    强力推荐 airflow,apache 孵化项目,目前部门在做基于 airflow 的调度平台。
    mwiker
        7
    mwiker  
       Dec 20, 2018
    XXL
    lieh222
        8
    lieh222  
       Dec 21, 2018
    jenkins 吧,方便管理,插件内容丰富,还有多节点管理
    peanuts7660
        9
    peanuts7660  
       Dec 21, 2018
    我们现在用的 jenkins
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   893 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 20:06 · PVG 04:06 · LAX 13:06 · JFK 16:06
    ♥ Do have faith in what you're doing.