分布式定时任务管理系统
Agent Auto-Registration Task Management
AI Failure Diagnosis
Full documentation is available at: document
GOMEMLIMIT from the container's cgroup memory limit to reduce OOM kills in Docker/KubernetesThe fastest way to try gocron is Docker Compose (builds the image from source locally):
# 1. Clone the project
git clone https://github.com/gocronx-team/gocron.git
cd gocron
# 2. Start services
docker compose up -d
# 3. Access Web Interface
# http://localhost:5920
For production, binary deployment is recommended. See the Installation Guide for all methods (Binary, Docker, Kubernetes, Development).
Deploy multiple gocron instances pointing to the same MySQL/PostgreSQL database. Leader election is automatic — no extra configuration needed. The Helm Chart runs in managed mode with two replicas by default: Kubernetes Service load-balances Web/API traffic, database bootstrap is coordinated once, and no shared PVC is required. SQLite remains available for standalone deployments.
# Node 1
./gocron web --port 5920
# Node 2 (same database)
./gocron web --port 5921
See the High Availability Guide for setup details, K8s deployment, and environment variable overrides.
Contributions are welcome! See CONTRIBUTING.md for the full guide.
One thing to note: commit messages are validated by a git hook
(commitlint), so use the
interactive commit tool instead of git commit:
pnpm install # first-time setup (installs git hooks)
pnpm run commit # create a properly formatted commit
This project is licensed under the MIT License. See the LICENSE file for details.
暂无开放 Issues,或尚未同步最近议题。