Job Scheduler

24 projects

Job schedulers run work at set times or intervals: cron expressions, every N minutes, or once at a given moment. Most libraries here run inside your Go process, while a few are standalone daemons that replace crontab or schedule Docker containers. Distributed task queues with periodic jobs, such as Asynq, are listed under Messaging.

go-co-op/gocron is the most active in-process scheduler; it supports cron expressions, intervals and one-off jobs, and its v2 API can coordinate across instances through pluggable electors and lockers. reugn/go-quartz offers a Quartz-style scheduler with no dependencies. adhocore/gronx parses cron expressions and can run a crontab-like task list. madflojo/tasks is a small interval scheduler, and goflow runs DAG workflows with a dashboard. JobRunner and gron have been quiet for years. Standalone tools include cheek, RunWisp and ofelia, a Docker job scheduler.

For a simple recurring task in one process, a time.Ticker and a goroutine may be all you need. Use gocron when you need cron syntax, many jobs, or protection against several replicas running the same job. If jobs must survive restarts or retry on failure, a persistent queue such as Asynq or a workflow engine is more reliable than an in-memory scheduler.

gocronby go-co-op

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

github.com/go-co-op/gocron/v2Go 1.22+ 5 dependenciesv2.23.0updated 7d ago

7.2k

go-quartzby reugn

Simple, zero-dependency scheduling library for Go.

github.com/reugn/go-quartzGo 1.21+ No dependencies v0.15.2updated 9mo ago

2k

JobRunnerby bamzi

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

github.com/bamzi/jobrunnerGo 1.13+ 1 dependencyupdated 5y ago

1.1k

gronby roylee0704

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

updated 3y ago

1k

gronxby adhocore

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

github.com/adhocore/gronxGo 1.13+ No dependencies v1.20.5updated 1mo ago

515

goflowby fieldryand

A simple but powerful DAG scheduler and dashboard.

github.com/fieldryand/goflow/v2Go 1.20+ 6 dependenciesv2.2.1updated 1y ago

484

schedulerby carlescere

Cronjobs scheduling made easy.

0.1updated 4y ago

466

tasksby madflojo

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

github.com/madflojo/tasksGo 1.19+ 1 dependencyv1.3.2updated 1d ago

334

go-cronby rk

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. Primarily for web applications and long running daemons.

updated 6y ago

239

cheekby bart6114

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

github.com/bart6114/cheekGo 1.25+ 12 dependenciesv1.1.7updated 7mo ago

201

clockwerkby onatm

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

github.com/onatm/clockwerkGo 1.12+ No dependencies v1.1.0updated 1y ago

183

leprechaunby kilgaloon

Job scheduler that supports webhooks, crons and classic scheduling.

github.com/kilgaloon/leprechaunGo 1.13+ 8 dependencies1.5.1updated 4y ago

106

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.

github.com/runwisp/runwispGo 1.27+ 32 dependenciesv1.8.0updated 1d ago

85

ofeliaby netresearch

Docker job scheduler (crontab for Docker); fork of mcuadros/ofelia that adds a web UI, job dependencies, retries, and job persistence.

github.com/netresearch/ofeliaGo 1.27+ 27 dependenciesv1.0.2updated today

70

go-cronby netresearch

Cron job scheduler with runtime schedule updates, per-entry context, resilience middleware (retry, circuit breaker, rate limiting), and observability hooks; successor to robfig/cron.

github.com/netresearch/go-cronGo 1.26+ No dependencies v0.19.0updated today

67

cduleby deepaksinghvi

Job scheduler library with database support

github.com/deepaksinghvi/cduleGo 1.24+ 10 dependenciesupdated 1y ago

61

go-schedulerby pardnchiu

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

github.com/pardnchiu/go-schedulerGo 1.23+ 1 dependencyv1.2.1updated 27d ago

37

schedby romshark

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

github.com/romshark/sched/v2Go 1.23+ 4 dependenciesv2.0.5updated 1y ago

30

crontickerby krayzpipes

A ticker implementation to support cron schedules.

github.com/krayzpipes/crontickerGo 1.15+ 1 dependencyv0.0.1updated 5y ago

20

pendingby kahoon

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

github.com/kahoon/pendingGo 1.25+ No dependencies v0.5.0updated 6mo ago

7

schedulerby yuseferi

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

github.com/yuseferi/schedulerGo 1.26+ 4 dependenciesv1.1.0updated 6mo ago

7

go-jobby cybergarage

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

github.com/cybergarage/go-jobGo 1.25+ 13 dependenciesv1.2.3updated 1mo ago

3

tickstem/cronby tickstem

Go client for scheduling HTTP cron jobs, with execution history, failure alerts, and tsk-local for testing handlers without live credentials.

github.com/tickstem/cronGo 1.26+ 3 dependenciesv1.0.1updated 6mo ago

1

tickstem/heartbeatby tickstem

Go client for dead-man's switch heartbeat monitoring: ping a URL after each job run and get alerted by email if pings stop arriving.

github.com/tickstem/heartbeatGo 1.26+ 1 dependencyv1.0.0updated 6mo ago

1
Esc

Type to search every entry. ↑↓ to move, Enter to open.