go-daemon
gronx
go-daemon | gronx | |
---|---|---|
2 | 7 | |
2,073 | 374 | |
- | - | |
4.1 | 7.3 | |
20 days ago | about 1 month 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.
go-daemon
-
Please, point out my mistakes
also, i would recommend not to use godotenv and leave your .env in the root of the application. i would suggest using docker/docker-compose for this or even a Makefile to load in the env and run the application. Also, if you decide to use docker, i would suggest taking a look at this application, its hot reloading for golang basically https://github.com/sevlyar/go-daemon
- How can I make my application run without a terminal (in the background).
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?
pid-go - PID controllers for Go.
gocron - Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron
gon2n - Go bindings, management daemons and CLIs for n2n edges and supernodes.
leprechaun - You had one job, or more then one, which can be done in steps
wifi - WiFi daemon for connecting to WiFi networks (encrypted or unencrypted) with gokrazy
tasks - Package tasks is an easy to use in-process scheduler for recurring tasks in Go
smartreboot - Reboot a machine without interrupting ongoing work.
go-quartz - Minimalist and zero-dependency scheduling library for Go
E-commerce - Golang and Javascript e-commerce application
sched - A job scheduler for Go with the ability to fast-forward time.
haaukins - A Highly Accessible and Automated Virtualization Platform for Security Education
cronticker - Golang ticker that works with Cron scheduling.