# jmrozanec/cron-utils

Cron utils for parsing, validations and human readable descriptions as well as date/time interoperability.

Repository: https://github.com/jmrozanec/cron-utils
Canonical: https://ross.abutalabs.com/products/cron-utils
Homepage: http://cron-utils.com
Language: Java
License: Apache-2.0
License Family: permissive
Topics: cron-libraries, cron-definitions, cron-expression, cron-utils, java, cron, crontab, quartz, cron4j, hacktoberfest
Last push: 2025-12-01T05:32:16+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 55, release rhythm 8, longevity 100
- inputs: {"age_days": 4408, "days_push": 275, "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 1208, forks 271 (observed 2026-08-28T04:03:59.716250+00:00)

## What it is
cron-utils is a Java library for defining, parsing, validating, and migrating cron expressions across different cron dialects (Unix, Quartz, Cron4j), with support for human-readable localized descriptions. It also provides date/time interoperability for computing execution times from cron expressions.

## Use cases
- parse and validate cron expressions in Java
- convert cron expressions between Quartz and Unix formats
- generate human-readable descriptions of cron schedules
- check when a cron job will next run
- build cron expressions programmatically without remembering field constraints
- merge multiple cron expressions into one

## When to choose
- you need to work with cron expressions from multiple cron dialects in a JVM project
- you want to show users a readable description of a schedule instead of a raw cron string
- you need to migrate cron definitions between scheduling libraries
- you need to compute execution times for cron expressions

## When to avoid
- you need an actual job scheduler to run tasks - use Quartz or Spring scheduling instead
- you are not on the JVM platform
- you need cron parsing in a lightweight script where a regex suffices

## Facets
- artifact type: library
- maturity: active
- function: parser, date-time, form-handling, scheduling
- domain: developer-tools, programming-languages
- platform: jvm, cross-platform
- tags: cron, cron-expression, quartz, crontab, human-readable, scheduling, automation, android

## Member repositories
- jmrozanec/cron-utils (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.716250+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-30T06:18:55.483821+00:00, confidence not recorded.
  - readme: https://github.com/jmrozanec/cron-utils (fetched 2026-08-28T04:03:59.716250+00:00, sha afda887ed2e2)
  - homepage: http://cron-utils.com (fetched 2026-08-29T12:26:33.358180+00:00, sha 51ca5e6b87e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
