Coder Social home page Coder Social logo

miniyyan / xiaoniu_cron Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aniu-lee/xiaoniu_cron

0.0 1.0 0.0 1.38 MB

基于APScheduler二次开发,支持集群,可视化,API动态调用等等。

Dockerfile 0.09% Python 10.12% JavaScript 81.85% CSS 2.02% HTML 5.85% Shell 0.07%

xiaoniu_cron's Introduction

小牛定时任务管理(xiaoniu_cron)

特性

  • 支持集群

  • 可视化界面操作

  • 定时任务统一管理

  • 支持API动态调用

  • 完全兼容Crontab

  • 支持秒级定时任务

  • 任务可搜索、暂停、编辑、删除

  • 支持查看日志

  • BUG及时通知

  • Docker 一键安装,方便使用

体验地址

一、基本配置(conf.ini 文件)

[default]
#是否单机 0 集群 1单机模式
is_single=1
#如果 集群 redis配置必须配置
redis_host=127.0.0.1
redis_pwd=123456
redis_db=1
redis_port=6379
#【存储cron】存储cron定时数据 
#如果是集群模式 数据库得选mysql
#如果是docker 安装 默认 sqlite:////home/www/xiaoniu_cron.sqlite
#'mysql+pymysql://用户:密码@数据库ip/xiaoniu_cron'
cron_db_url=sqlite:////home/www/xiaoniu_cron.sqlite
#存储job_log 如果是集群模式 数据库得选mysql 
#如果是docker 安装 默认 sqlite:////home/www/xiaoniu_db.sqlite
#mysql url 格式:mysql+pymysql://{用户}:{密码}@{数据库ip}/xiaoniu_db
cron_job_log_db_url=sqlite:////home/www/xiaoniu_db.sqlite
#网页登录密码
login_pwd=12345679
#推送api_key
#https://www.aniulee.com/#/notices 实时推送
error_notice_api_key=

二、修改docker-compose.yml 文件

  1. 项目地址
  2. 端口号 5

三、docker 一键安装

sudo docker-compose up --build -d

具体docker,docker-compose怎么安装,自行谷歌,百度。

四、开始使用

访问链接 http://{ip}:{docker-compose.yml设置的端口}

  • 添加定时任务 1 2
  • 通过api调用 4
  • 定时任务列表 3

五、简单例子

  • 每个月20号提醒我还花呗

  • 每天凌晨2点清理垃圾

。。。

更多例子设置参考

六、问题反馈

问题反馈

七、关于本人

aniulee博客

两分钟内实现实时推送

如果感觉项目还不错,有帮到您,来颗星,感谢!

开源不易,欢迎大佬赏杯茶。

6

xiaoniu_cron's People

Contributors

aniu-lee avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.