# shunfei/cronsun

A Distributed, Fault-Tolerant Cron-Style Job System.

Repository: https://github.com/shunfei/cronsun
Canonical: https://ross.abutalabs.com/products/cronsun
Language: Go
License: Apache-2.0
License Family: permissive
Topics: crontab, golang, job-scheduler, cron, go, fault-tolerance
Last push: 2024-06-06T06:17:43+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": 3403, "days_push": 818, "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 2907, forks 454 (observed 2026-08-28T04:07:29.125292+00:00)

## What it is
cronsun is a distributed, fault-tolerant cron-style job scheduler written in Go, designed to manage scheduled jobs across many machines with a web management panel. It uses etcd for coordination and MongoDB for storing job definitions and execution results, and has been battle-tested in production on hundreds of servers.

## Use cases
- manage cron jobs across hundreds of servers from one web panel
- run scheduled tasks with high availability and failover
- replace scattered crontab files on many machines with centralized job management
- get email alerts when scheduled jobs fail
- restrict which commands scheduled jobs are allowed to execute

## When to choose
- you need to schedule and monitor cron jobs on many machines with a central UI
- you want fault-tolerant job execution where node failures don't lose scheduled tasks
- you prefer a lightweight cron-focused tool over heavyweight workflow engines like Airflow

## When to avoid
- you need complex DAG-based workflow orchestration with dependencies between tasks
- you want a fully stable tagged release - master branch is explicitly not stable
- you can't operate etcd and MongoDB as dependencies
- you need strong authentication - built-in auth is simple with default admin credentials

## Facets
- artifact type: application
- maturity: maintenance
- function: scheduling, workflow-automation, web-framework, auth, alerting
- domain: microservices, self-hosted, developer-tools
- platform: go, self-hosted
- tags: cron, job-scheduler, distributed-systems, fault-tolerance, etcd, mongodb, golang, devops, automation, linux, web-server, docker

## Member repositories
- shunfei/cronsun (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:29.125292+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-30T07:34:24.216992+00:00, confidence not recorded.
  - readme: https://github.com/shunfei/cronsun (fetched 2026-08-28T04:07:29.125292+00:00, sha 8867323bf26f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
