Skip to content

a timer server, written with golang, similar to linux crontab

License

Notifications You must be signed in to change notification settings

lanfang/go-crontab

Repository files navigation

a timer server, written with golang, similar to linux crontab

go-crontab 介绍

  • 实现类似crontab任务配置功能(感谢@robfig),基于时间轮存储任务,同时任务落地到mysql
  • 任务:一个http回调请求(注册任务时带上url以及参数)
  • 支持批量注册、更新、重跑任务,查看任务执行状态,退步重试,结果校验等功能

使用

  • 启动定时任务 定时服务依赖mysql做任务配置持久化, 先进行库表创建库表操作

cmd: go-crontab -c demo.conf.json

TODO

  • 支持RPC任务
  • 解决定时服务的单点,数据中心问题HA方案

About

a timer server, written with golang, similar to linux crontab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages