go-crontab

command module
v0.0.0-...-ed4fdcb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2017 License: MIT Imports: 11 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL