cronjob

module
v0.0.0-...-8f476da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2025 License: MIT

README

CronJob 分布式定时任务系统

基于Go语言开发的分布式定时任务系统,支持高并发任务调度和执行。

架构组件

  • apiserver/: API服务器,负责任务管理、调度和WebSocket通信
  • worker/: 工作节点,负责接收和执行具体任务
  • deploy/: 部署配置文件,包含Docker和监控配置

快速启动

1. 启动API Server
cd apiserver
go build && ./apiserver
2. 启动Worker节点
cd worker  
go build && ./worker
3. 监控面板
cd deploy
docker-compose -f docker-compose.monitoring.yml up -d

访问地址

环境要求

  • Go 1.21+
  • MySQL/PostgreSQL
  • Redis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL