cronn
gronx
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.
cronn
-
Prevent duplicate cron job running
I have made a simple "cron with extras" project https://github.com/umputun/cronn handling duplication issue as well as a bunch of other things, like restarting failed jobs, jitter, automatic reload and so on.
-
How to build Cron jobs with golang
smth like this? https://github.com/umputun/cronn
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?
KubeArmor - Runtime Security Enforcement System. Workload hardening/sandboxing and implementing least-permissive policies made easy leveraging LSMs (BPF-LSM, AppArmor).
gocron - Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron
cron - a cron library for go
leprechaun - You had one job, or more then one, which can be done in steps
systemd-cron - systemd units to run cron scripts
tasks - Package tasks is an easy to use in-process scheduler for recurring tasks in Go
dcron - dillon's lightweight cron daemon
go-quartz - Minimalist and zero-dependency scheduling library for Go
routine - go routine control, abstraction of the Main and some useful Executors.如果你不会管理Goroutine的话,用它
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