command
module
Version:
v0.0.0-...-ed4fdcb
Opens a new window with list of versions in this module.
Published: Aug 7, 2017
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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方案
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
This library implements a cron spec parser and runner.
|
This library implements a cron spec parser and runner. |
|
|
|
|
time wheel github.com/cloudwu/skynet/blob/master/skynet-src/skynet_timer.c
|
time wheel github.com/cloudwu/skynet/blob/master/skynet-src/skynet_timer.c |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.