# go-co-op/gocron

Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron

Repository: https://github.com/go-co-op/gocron
Canonical: https://ross.abutalabs.com/products/gocron
Language: Go
License: MIT
License Family: permissive
Topics: cron, scheduler, gocron, golang-job-scheduling, golang, clockwork, schedule, hacktoberfest
Last push: 2026-08-25T18:05:12+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 92, longevity 100
- inputs: {"age_days": 2357, "days_push": 8, "days_rel": 55, "gap_med": 18, "n_releases_24m": 28}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7143, forks 349 (observed 2026-08-28T04:09:56.195238+00:00)

## What it is
gocron is a Go library for scheduling functions to run at predetermined intervals using a fluent, cron-like API. It provides a scheduler, job, and executor model supporting duration-based, random, and cron-style schedules with features like singleton jobs and concurrency limits.

## Use cases
- run a Go function every 10 seconds
- schedule periodic background jobs in a Go service
- replace crontab with in-process job scheduling
- run cron-style scheduled tasks in Go
- limit concurrent execution of recurring jobs
- schedule jobs with random intervals

## When to choose
- you need in-process job scheduling in a Go application
- you want a fluent API for cron and duration-based schedules
- you need singleton jobs or max-concurrent-job limits
- you want a well-maintained, popular Go scheduler library

## When to avoid
- you need a distributed scheduler with persistence across multiple nodes out of the box
- you need a standalone cron daemon with a UI rather than a library
- your application is not written in Go

## Facets
- artifact type: library
- maturity: active
- function: scheduling, workflow-automation, concurrency
- domain: developer-tools, backend
- platform: go, cross-platform
- tags: cron, job-scheduler, golang, background-jobs, periodic-tasks, automation

## Member repositories
- go-co-op/gocron (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:56.195238+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:01.648971+00:00, confidence not recorded.
  - readme: https://github.com/go-co-op/gocron (fetched 2026-08-28T04:09:56.195238+00:00, sha 8b7075c09aef)
- Data as of 2026-08-30T08:39:29.467469+00:00.
