Chrono v0.1is out!

Task scheduler for Go

Schedule Go tasks with clear timing rules

Chrono runs one-shot, fixed delay, fixed rate, and cron-based tasks with cancellation, locations, and graceful scheduler shutdown built into the workflow.

Why Chrono

Chrono gives Go applications clear scheduling rules for one-time tasks, repeated jobs, cron timing, and graceful shutdown.

One-shot tasks

Schedule a task for a specific time with WithTime when work should happen once and then stop.

Fixed delay

Run the next task after the previous execution finishes and the configured delay has passed.

Fixed rate

Start tasks on a steady interval when the cadence matters more than the duration of previous work.

Cron schedules

Use cron expressions and optional locations when schedules need calendar-based timing.

FAQ

Common questions

A few practical answers about Chrono schedules, timing behavior, and where it fits in Go applications.

Why use Chrono instead of time.Ticker?+

Chrono keeps common scheduling rules explicit, including one-shot tasks, fixed delay, fixed rate, cron timing, cancellation, and graceful shutdown.

What is the difference between fixed delay and fixed rate?+

Fixed delay waits until a task finishes before starting the next delay. Fixed rate keeps a steady interval when the schedule cadence matters more.

Does Chrono support cron schedules?+

Yes. Chrono supports cron-based schedules and optional locations for calendar-style task timing.

Discover more

Join the Codnect community

Follow the projects, share ideas, and help shape open source software for developer ecosystems

Community

Build, discuss, and improve developer tools together

Project conversations, release notes, ideas, and early feedback all live close to the code