SHORTLIST20
中文
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
Code

按GitHub星标排名的Go任务调度与cron库 前20

gocron, go-quartz, JobRunner, gron, gronx, goflow, scheduler, tasks, go-cron, cheek and other Go libraries for running jobs on a schedule, by GitHub stars

更新于 · stars (GitHub stars)

为什么是这20个

GitHub stars of the Go libraries in awesome-go's Job Scheduler section: in-process cron and interval schedulers you import into your program (gocron, go-quartz, gron, tasks, clockwerk), cron expression parsers and runners (gronx, cronticker), small daemons that replace crontab (cheek, RunWisp, leprechaun), a DAG scheduler with a dashboard (goflow) and schedulers that keep jobs in a database or Redis so several servers share them (cdule, yuseferi/scheduler). Stars show attention over the years, not upkeep or quality: check the last commit and open issues. Two libraries share a name twice (go-cron, scheduler), so those rows show the owner. robfig/cron, the best-known Go cron parser, is not in this section of the list, so it is not here. gocron leads by far and the tail is small (under 10 stars at the bottom), so rows near 20 change often.

这份清单有用吗?
  1. 1

    gocron

    Easy and fluent Go job scheduling. This is an actively maintained fork of jasonlvhit/gocron.

    7,200 stars 368 forkslast push 2026-11-23GoMIT

  2. 2

    go-quartz

    Simple, zero-dependency scheduling library for Go.

    2,015 stars 102 forkslast push 2026-01-20GoMIT

  3. 3

    JobRunner

    Smart and featureful cron job scheduler with job queuing and live monitoring built in.

    1,083 stars 97 forkslast push 2020-11-14GoMIT

  4. 4

    gron

    Define time-based tasks using a simple Go API and Gron’s scheduler will run them accordingly.

    1,032 stars 64 forkslast push 2023-05-05GoMIT

  5. 5

    gronx

    Cron expression parser, task runner and daemon consuming crontab like task list.

    514 stars 40 forkslast push 2026-11-24GoMIT

  6. 6

    goflow

    A simple but powerful DAG scheduler and dashboard.

    484 stars 37 forkslast push 2025-02-20GoMIT

    也在: #20 open-source workflow engines

  7. 7

    carlescere/scheduler

    Cronjobs scheduling made easy.

    466 stars 51 forkslast push 2022-06-23GoMIT

  8. 8

    tasks

    An easy to use in-process scheduler for recurring tasks in Go.

    334 stars 26 forkslast push 2026-11-19GoMIT

  9. 9

    rk/go-cron

    Simple Cron library for go that can execute closures or functions at varying intervals, from once a second to once a year on a specific date and time....

    239 stars 11 forkslast push 2020-02-10Go

  10. 10

    cheek

    A simple crontab like scheduler that aims to offer a KISS approach to job scheduling.

    201 stars 16 forkslast push 2026-03-12GoMIT

  11. 11

    clockwerk

    Go package to schedule periodic jobs using a simple, fluent syntax.

    183 stars 15 forkslast push 2024-11-05GoMIT

  12. 12

    leprechaun

    Job scheduler that supports webhooks, crons and classic scheduling.

    106 stars 14 forkslast push 2022-07-12GoMIT

  13. 13

    RunWisp

    Single-binary replacement for cron and supervisord that keeps the exit code and output of every run, with a web UI and a TUI.

    105 stars 7 forkslast push 2026-11-25GoGPL-3.0

  14. 14

    cdule

    Job scheduler library with database support

    61 stars 12 forkslast push 2025-08-20GoMIT

  15. 15

    go-scheduler

    Job scheduler supporting standard cron expressions, custom descriptors, intervals, and task dependencies.

    37 stars 6 forkslast push 2026-10-06GoMIT

  16. 16

    sched

    A job scheduler with the ability to fast-forward time.

    30 stars 1 forkslast push 2025-02-01GoBSD-3-Clause

  17. 17

    cronticker

    A ticker implementation to support cron schedules.

    20 stars 4 forkslast push 2021-01-02GoMIT

  18. 18

    pending

    ID-based debounced task scheduler for deferred tasks with cancellation, graceful shutdown, and optional concurrency limits.

    7 stars 0 forkslast push 2026-04-19GoMIT

  19. 19

    yuseferi/scheduler

    Go-native distributed job scheduler with delayed tasks, batched Redis coordination, retries, lease-based recovery, and versioned queue partitioning.

    7 stars 0 forkslast push 2026-04-07GoMIT

  20. 20

    go-job

    A flexible and extensible job scheduling and execution library for Go.

    3 stars 0 forkslast push 2026-11-10GoApache-2.0

并排比较

gocrongo-quartz
LicenceMIT–
Kind (in-process library, daemon, distributed)In-process library; several instances can run with leader electionIn-process library inspired by Java Quartz
Cron expressionsCrontab-style schedules; parsing delegated to robfig/cron v3Cron triggers using six-field expressions
Runs across several serversYes: elector chooses one primary among multiple instances–
Best forRunning Go functions on intervals or cron schedulesMinimal, zero-dependency scheduling in Go

如何衡量

The Job Scheduler section of the community list avelino/awesome-go, each repository's stars from the GitHub API; refreshed every 6 hours.

参考资料

  1. avelino/awesome-go: Job Scheduler, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-25 11:43 UTC.
  2. avelino/awesome-go (Job Scheduler), GitHub community list, 24 tools with a public repository.
  3. gocron: licence, github.com, checked 2026-11-18.
  4. gocron: kind (in-process library, daemon, distributed), github.com, checked 2026-11-18.
  5. gocron: cron expressions, pkg.go.dev, checked 2026-11-18.
  6. go-quartz: kind (in-process library, daemon, distributed), github.com, checked 2026-11-18.
  7. go-quartz: cron expressions, github.com, checked 2026-11-18.