{"repo":"go-co-op/gocron","free":true,"listed":false,"github":"https://github.com/go-co-op/gocron","clone":"git clone https://github.com/go-co-op/gocron.git","description":"Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron","language":"Go","stars":7135,"topics":["cron","scheduler","gocron","golang-job-scheduling","golang","clockwork","schedule","hacktoberfest"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"gocron: A Golang Job Scheduling Package gocron is a job scheduling package which lets you run Go functions at pre-determined intervals. Looking for a visual interface? Check out gocron-ui — a lightweight web dashboard to monitor, trigger, and manage your gocron jobs in real time. If you want to chat, you can find us on Slack at Quick Start Examples - Go doc examples - Examples directory Articles & Blog Posts Community articles and tutorials about using gocron: - Building a dynamic, highly available scheduler in Go - A deep dive into building a highly available scheduler using gocron, MongoDB change streams, and leader election patterns for the FACEIT Watch platform. Concepts - Job : The job encapsulates a \"task\", which is made up of a go function and any function parameters. The Job then provides the scheduler with the time the job should next be scheduled to run. - Scheduler : The scheduler keeps track of all the jobs and sends each job to the executor when it is ready to be run. - Executor : The executor calls the job's task and manages the complexities of different job execution timing requirements (e.g. singletons that shouldn't overrun each other, limiting the max number of jobs running) Features Job types Jobs can be run at various intervals. - Duration : Jobs can be run at a fixed time.Duration . - Random duration : Jobs can be run at a random time.Duration between a min and max. - Cron : Jobs can be run using a crontab. - Daily : Jobs can be run every x days at specif","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-co-op","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-co-op/gocron/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}