RepositoryGo
GO

go-co-op/gocron

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

7.2ksao
369fork
2issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: cron

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: golang-job-scheduling

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: scheduler

#1 Repository của tuần

⏱️ gocron: Thư viện lên lịch job mạnh mẽ cho Go

gocron cung cấp API fluent để lên lịch chạy hàm Go theo thời gian, hỗ trợ nhiều kiểu job và concurrency control.

gocron là một package lên lịch job cho Go, cho phép chạy các hàm theo khoảng thời gian hoặc lịch trình cụ định. Dựa trên fork từ dự án gốc, gocron hỗ trợ nhiều kiểu job như Duration, Cron, Daily, Weekly, Monthly, One Time, cùng với các tính năng concurrency limit và distributed scheduling.

✨ Điểm nổi bật

  • Multiple job types: Hỗ trợ Duration, Random Duration, Cron, Daily, Weekly, Monthly, One Time.
  • Interval timing: Chế độ tính toán thời gian chạy tiếp theo từ thời điểm lên lịch hoặc từ thời điểm hoàn thành.
  • Concurrency limits: Giới hạn số job chạy đồng thời cho từng job hoặc toàn scheduler.
  • Singleton mode: Đảm bảo một job không chạy chồng lên nhau.
  • Distributed scheduling: Hỗ trợ elector và locker để chạy nhiều instance.
  • Fluent API: Cách tạo và quản lý job trực quan và dễ dùng.
  • Context-aware shutdown: Hỗ trợ shutdown an toàn với context.
  • Web UI: Có giao diện đồ họa gocron-ui để giám sát job.

💡 Vì sao đáng chú ý

gocron khác biệt với các thư viện lên lịch khác nhờ sự kết hợp giữa độ linh hoạt cao và kiểm soát chặt chẽ qua các tính năng như singleton mode, concurrency limit, và distributed scheduling. Đây là lựa chọn lý tưởng cho các ứng dụng Go cần lên lịch task phức tạp, đặc biệt trong môi trường microservices hoặc distributed system.


#Go #Scheduler #Cron #JobScheduling #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

197.2k
Dec 2, 2026
RepositoryGo
go-gitea/gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

59.4k
Dec 1, 2026
RepositoryGo
charmbracelet/bubbletea

A powerful little TUI framework 🏗

46.0k
Dec 2, 2026
RepositoryGo
ouqiang/gocron

定时任务管理系统

6.3k
Mar 27, 2024
RepositoryGo
gocronx-team/gocron

distributed scheduled task management system

787
Nov 14, 2026
RepositoryGo
engigu/baihu-panel

🐯轻量级定时任务管理系统,支持 Python, Node.js, Go, Rust, PHP 等所有主流语言的动态安装与多版本切换,,Docker/Compose 即用。A lightweight, high-performance cron panel built with Go & Vue 3.

763
Nov 27, 2026
RepositoryGo
flohoss/gocron

A task scheduler built with Go and Vue.js that allows users to specify recurring jobs via a simple YAML configuration file. The scheduler reads job definitions, executes commands at specified times using cron expressions, and passes in environment variables for each job.

629
Nov 14, 2026
RepositoryGo
ollama/ollama

Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

188.9k
Dec 2, 2026
RepositoryTypeScript
mattermost/mattermost

Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..

39.8k
Dec 2, 2026