OCPS

OCPS Implementation Conformance

Status: DRAFT

1. Introduction #

This document tracks the conformance of various scheduling libraries, daemons, and standards against the different versions of the Open Cron Pattern Specification (OCPS). The goal is to provide a clear overview for developers seeking a tool that meets their specific scheduling needs.

An implementation may not support all features of a specific OCPS version. The tables below aim to capture that nuance.

For machine-processable conformance test vectors grouped by version, see data/conformance-tests.json. Its schema is data/conformance-tests.schema.json.

2. Conformance Matrix #

Legend:

  • โœ… Full: Fully supports all features of this OCPS version.
  • ๐ŸŸก Partial: Supports some, but not all, features of this version. See Notes.
  • โŒ None: Does not support the key features of this version.
  • N/A N/A: Not Applicable, as the system uses a fundamentally different syntax.

Adoption Summary #

This table shows the percentage of the 17 libraries listed below that meet different levels of conformance.

Conformance LevelOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4
Any Feature Adoption100%41%82%53%47%
Full Feature Adoption65%41%76%47%6%
Any Conformance (Cumulative)100%35%24%12%6%
Full Conformance (Cumulative)65%35%24%6%0%

Specifications #

SpecificationsOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
POSIX cron๐ŸŸกโŒโŒโŒโŒThe official standard. Does not support steps (/) or month/day names. [1]

System Cron Daemons #

System Cron DaemonsOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
cronieโœ…โœ…โœ…โŒโŒA fork of Vixie-cron. Supports nicknames and seconds. [3][4]
vixie-cron / isc-cronโœ…โœ…โŒโŒโŒThe de facto standard for system cron. [1][2][5]
dcronโœ…โœ…โŒโŒโŒA simple and lightweight implementation that supports nicknames. [6]

Java Libraries #

Java LibrariesOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
Spring Framework (@Scheduled)๐ŸŸกโŒโœ…โœ…๐ŸŸกSupports seconds, L, W, #. Uses AND logic for date fields. ? is a wildcard. No nicknames. [7]
Quartz๐ŸŸกโŒโœ…โœ…๐ŸŸกOriginal source for L, W, #. Does not allow combining dom and dow, but requires ? to disambiguate date fields. No nicknames. [8][9]

.NET Libraries #

.NET LibrariesOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
Cronos๐ŸŸกโœ…โœ…โœ…๐ŸŸกSupports seconds, nicknames, and advanced characters. Uses AND logic for date fields. [11]
Coravelโœ…โŒโŒโŒโŒProvides basic cron string support but encourages a fluent API.

Rust Libraries #

Rust LibrariesOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
croner-rustโœ…โœ…โœ…โœ…๐ŸŸกAllows ? as an alias for *. [12]
cron๐ŸŸกโŒโœ…โŒโŒWeekday numbering differs. Supports seconds but not nicknames or other extended features. [13][14]
saffron๐ŸŸกโŒ๐ŸŸกโœ…๐ŸŸกQuartz-like, uses AND logic for date fields. Does not support seconds. Weekday numbering differs. [15][16]

Go Libraries #

Go LibrariesOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
gocron (robfig/cron)โœ…โœ…โœ…โŒ๐ŸŸกSupports seconds & nicknames. ? is alias for *. No L, W, #. [17]
go-quartz๐ŸŸกโŒโœ…โœ…โŒRequiring ? to disambiguate date fields. No nicknames. [18]

JavaScript / TypeScript Libraries #

JavaScript / TypeScript LibrariesOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
croner (JS/TS)โœ…โœ…โœ…๐ŸŸกโœ…Defaults to OCPS OR logic. W is not supported. ? is for substitution. Provides an optional AND mode. [19]
node-scheduleโœ…โŒโœ…โŒโŒSupports seconds but not nicknames or other extended syntax.
node-cronโœ…โŒโœ…โŒโŒSupports seconds.
cron (npm)โœ…โŒโœ…โŒโŒSupports seconds. [20][21]
cron-parserโœ…โŒโœ…โœ…๐ŸŸกSupports seconds, L, #. ? is alias for *. No W or nicknames. [22]

PHP Libraries #

PHP LibrariesOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
dragonmantank/cron-expressionโœ…โœ…โŒโœ…โŒA popular foundational library. Supports L, W, #, and nicknames. Does not support seconds.

Python Libraries #

Python LibrariesOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
python-crontabโœ…โœ…โŒโŒโŒDesigned to manage system crontabs. Supports nicknames. No advanced characters.

Ruby Libraries #

Ruby LibrariesOCPS 1.0OCPS 1.1OCPS 1.2OCPS 1.3OCPS 1.4Notes
Sidekiq-Cronโœ…โœ…โœ…โŒโŒSupports seconds and natural language parsing via the Fugit gem. No support for L, W, #.

References #

ReferenceURL
1https://en.wikipedia.org/wiki/Cron
2https://github.com/vixie/cron
3https://wiki.gentoo.org/wiki/Cron
4https://manpages.ubuntu.com/manpages/jammy/man8/cron.8.html
5https://medium.com/bumble-tech/cron-in-linux-history-use-and-structure-70d938569b40
6https://www.jimpryor.net/linux/dcron.html
7https://productresources.collibra.com/docs/collibra/latest/Content/Cron/co_spring-cron.htm
8https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html
9https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm
11https://github.com/HangfireIO/Cronos
12https://crates.io/crates/croner/1.0.2
13https://docs.rs/cron
14https://www.twilio.com/en-us/blog/developers/community/run-cron-jobs-rust
15https://github.com/cloudflare/saffron
16https://news.ycombinator.com/item?id=41654723
17https://www.scalent.io/golang/golang-cron-job-example/
18https://github.com/reugn/go-quartz
19https://www.npmjs.com/package/croner
20https://www.npmjs.com/package/cron
21https://npm-compare.com/cron,node-cron,node-schedule
22https://www.npmjs.com/package/cron-parser

This document is automatically generated from data/conformance.json on 2025-10-28.

This table is based on analysis of official documentation and community knowledge. For the most accurate details, please refer to the documentation of the respective libraries.