v1.2.1

pardnchiu/go-scheduler

Last updated

[!NOTE] This README was generated by SKILL, get the ZH version from here.


SCHEDULE TASKS WITH DEPENDENCIES, TIMEOUTS, AND CRON EXPRESSIONS

Go Reference Release License
Mentioned in Awesome Go


A Go cron scheduler library with task dependency chains, execution timeouts, and graceful shutdown

Table of Contents

Features

go get github.com/pardnchiu/go-scheduler@latest · Documentation

Architecture

Full Architecture

graph TB

    App[Caller] --> Cron[Cron Scheduler]
    Cron --> Parser[Expression Parser]
    Cron --> Heap[Task Min-Heap]
    Heap --> Loop[Event Loop]
    Loop -->|no deps| Runner[Task Execution]
    Loop -->|has deps| Depend[Dependency Subsystem]
    Depend --> Workers[Worker Pool]
    Workers --> Runner
    Runner --> State[State Update]

License

This project is licensed under the MIT LICENSE.

Author

Just open an issue to share an idea.

go-scheduler contributors

©️ 2025 邱敬幃 Pardn Chiu

中文