Categorygithub.com/xpwu/timer
module
0.1.0
Repository: https://github.com/xpwu/timer.git
Documentation: pkg.go.dev

# README

timer

crontab类型及delay类型的定时器服务,并带有重试机制。 比linux的crontab功能更多,也更方便管理及控制。

fixed

1、实现Linux crontab的功能;
2、可以指定开始时间;(而 linux crontab只能从加入那刻开始计算)
3、每一个固定的时间点都会回调任务,即使服务异常停服后重启, 都会补齐每一个执行时间点的任务

delay

1、延时任务,延时的时间不小于设定的时间;
2、服务重启后,会补齐没有执行的延时服务;

callback retry

1、按照一定的时间规律重试,超过20天仍然没有成功,则可能不再重试
2、回调服务需要幂等

manage task

api 调用即可管理

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author