jsonc
gronx
jsonc | gronx | |
---|---|---|
1 | 7 | |
15 | 376 | |
- | - | |
0.9 | 7.3 | |
about 1 year ago | about 2 months ago | |
Go | Go | |
MIT 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.
jsonc
-
Wrote yet another JSON parser supporting comments, trailing commas, and multiline strings
jsonc is a Golang package for parsing JSON data with comments- both single (//) and multiline (/* */). It also supports trailing commas at the end of array and object notations, and literal line feeds in string values.
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?
json5 - JSON5 — JSON for Humans
gocron - Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron
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.
dagu - A No-code workflow executor with built-in web UI [Moved to: https://github.com/yohamta/dagu]