# ouqiang/gocron

定时任务管理系统

Repository: https://github.com/ouqiang/gocron
Canonical: https://ross.abutalabs.com/products/ouqiang-gocron
Language: Go
License: MIT
License Family: permissive
Topics: cron, scheduler, crontab, golang
Last push: 2024-03-27T15:57:36+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3481, "days_push": 889, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6263, forks 1303 (observed 2026-08-28T04:09:41.114738+00:00)

## What it is
gocron is a lightweight web-based distributed cron job scheduling and management system written in Go, designed to replace Linux crontab. It provides a web UI for managing scheduled shell and HTTP tasks across multiple worker nodes, with retry, timeout, dependency, notification, and access control features.

## Use cases
- manage cron jobs from a web interface instead of crontab
- run scheduled shell commands on multiple servers centrally
- schedule HTTP endpoint pings on a cron schedule
- retry failed scheduled tasks automatically
- chain tasks so one runs after another completes
- get email or Slack notifications when cron jobs fail
- control who can edit scheduled tasks with user permissions

## When to choose
- you need a centralized web UI to manage cron jobs across many machines
- you want task retries, timeouts, and dependencies beyond plain crontab
- you need multi-user access control for scheduled tasks
- you want a lightweight self-hosted scheduler backed by MySQL

## When to avoid
- you only need simple single-machine crontab scheduling
- you require a scheduler backed by databases other than MySQL
- you need a Go scheduling library to embed in your own code rather than a standalone application
- the project appears to be in maintenance mode with infrequent releases

## Facets
- artifact type: application
- maturity: maintenance
- function: scheduling, web-framework, workflow-automation, monitoring, alerting
- domain: self-hosted, developer-tools
- platform: windows, self-hosted, go
- tags: cron-scheduler, distributed-task-scheduling, crontab-replacement, web-ui, task-orchestration, mysql, automation, devops, linux, macos, docker, web-server

## Member repositories
- ouqiang/gocron (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:41.114738+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:46:30.615320+00:00, confidence not recorded.
  - readme: https://github.com/ouqiang/gocron (fetched 2026-08-28T04:09:41.114738+00:00, sha ec0f83782eeb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
