V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2018-12-20 18:45:27 +08:00 · 2532 次点击
    这是一个创建于 1924 天前的主题,其中的信息可能已经有所发展或是发生改变。
    求问各位大神,python 脚本的自动化调度可以用什么来实现?自己用了 windows 自带的定时任务可以实现,但是除了这种方法还有别的实现方法吗?有什么可视化的调度工具吗?请各位指教,不胜感激!
    9 条回复    2018-12-21 09:57:47 +08:00
    LinSP
        1
    LinSP  
       2018-12-20 18:47:12 +08:00
    celery?
    xpresslink
        2
    xpresslink  
       2018-12-20 18:53:05 +08:00
    方法很多,
    threading.Timer
    sched
    不过其实还是用 OS 的定时任务简单可靠。
    因为你的脚本要搞成守护进程防止挂掉。
    aiqniyuan
        3
    aiqniyuan  
    OP
       2018-12-20 19:02:46 +08:00
    不是啊,大神们。我是想要一个可视化的调度工具去调 python 来执行.py 脚本,类似于我在 windows 系统上设的定时任务。
    RangerWolf
        4
    RangerWolf  
       2018-12-20 19:15:06 +08:00
    强烈推荐 jenkins

    我司用 jenkins 来完全一些列自动化脚本的管理与执行。
    winglight2016
        5
    winglight2016  
       2018-12-20 19:39:24 +08:00
    服务器一般用 linux 吧,一般会用 supervise,node 项目会用 pm2,Windows 上就不了解了
    jarry118
        6
    jarry118  
       2018-12-20 20:48:18 +08:00   ❤️ 1
    强力推荐 airflow,apache 孵化项目,目前部门在做基于 airflow 的调度平台。
    mwiker
        7
    mwiker  
       2018-12-20 21:57:36 +08:00
    XXL
    lieh222
        8
    lieh222  
       2018-12-21 09:04:44 +08:00
    jenkins 吧,方便管理,插件内容丰富,还有多节点管理
    peanuts7660
        9
    peanuts7660  
       2018-12-21 09:57:47 +08:00
    我们现在用的 jenkins
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3643 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 10:44 · PVG 18:44 · LAX 03:44 · JFK 06:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.