xjson
gronx
Our great sponsors
xjson | gronx | |
---|---|---|
2 | 7 | |
49 | 373 | |
- | - | |
0.0 | 7.3 | |
over 1 year ago | about 1 month ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xjson
gronx
-
How to run periodic tasks?
maybe use gronx https://github.com/adhocore/gronx
-
is there an open library for validating cron job expression?
Check https://github.com/adhocore/gronx, there are more cron libraries, check if they have something like IsValid or MustParse.
-
What is the correct way to start a go program that executes recurring tasks
personally, i would have used gronx/tasker as a task daemon that runs tasks on specific time as defined by Cron expression
-
Released new gronx with feature to run as task scheduler/daemon both standalone or programmatically
for standalone use that supports crontab format file: https://github.com/adhocore/gronx#task-daemon
-
Cron expression parser for Golang
View on GitHub
-
Gronx is tiny library to parse cron expression in Go
also how do you use Next time? just being able to know next time is of no use as well. IsDue is meant to be used as if IsDue(...) { /* run something */ } it will be supported natively as task scheduler in long run: https://github.com/adhocore/gronx/issues/1
What are some alternatives?
GJSON - Get JSON values quickly - JSON parser for Go
gocron - Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron
varint - VarInt: fast & memory efficient arbitrary bit width integers in Go.
leprechaun - You had one job, or more then one, which can be done in steps
tasks - Package tasks is an easy to use in-process scheduler for recurring tasks in Go
go-quartz - Minimalist and zero-dependency scheduling library for Go
sched - A job scheduler for Go with the ability to fast-forward time.
cronticker - Golang ticker that works with Cron scheduling.
Faktory - Language-agnostic persistent background job server
cheek - cheek: a pico-sized declarative job scheduler
cron - a cron library for go
cdule - cdule (pronounce as Schedule) Golang based scheduler library with database support.