CoolFace
Datasetpublic

SharkSkin/labelled-cron-expressions

Labelled Cron Expressions with Human-Readable Descriptions This dataset provides a collection of common cron expressions, each paired with a clear, human-readable description and a note explaining its typical use case. It serves as a reference for developers to quickly understand or implement scheduling patterns. The accompanying tool allows for looking up these descriptions and parsing cron expressions into their constituent parts. 25 rows · category: reference · licence:… See the full description on the dataset page: https://huggingface.co/datasets/SharkSkin/labelled-cron-expressions.

sourceHugging Faceupdated 21d agoView on Hugging Face
0likes50downloads
Dataset Card

Labelled Cron Expressions with Human-Readable Descriptions

This dataset provides a collection of common cron expressions, each paired with a clear, human-readable description and a note explaining its typical use case. It serves as a reference for developers to quickly understand or implement scheduling patterns. The accompanying tool allows for looking up these descriptions and parsing cron expressions into their constituent parts.

25 rows · category: reference · licence: CC0-1.0 (public domain)

Usage

python
from tool import load, get_by_cron, search

# Load all data
data = load()
print(f"Total entries: {len(data)}")

# Find entries for a specific cron expression
results = get_by_cron('* * * * *')
for r in results:
    print(f"Cron: {r['input']} -> {r['label']}")

# Search by keyword
matches = search('backup')
for m in matches:
    print(f"Match: {m['input']} - {m['label']}")

Sample rows

json
{"input": "* * * * *", "label": "Every minute", "note": "The most frequent possible schedule, often used for monitoring or very high-frequency tasks."}
{"input": "0 * * * *", "label": "Every hour on the hour", "note": "Common for hourly reports, data synchronization, or health checks."}
{"input": "0 0 * * *", "label": "Every day at midnight", "note": "Ideal for daily backups, data processing, or generating daily reports."}

Files

FileWhat
data.jsonlthe dataset, one JSON object per line
tool.pystdlib-only loader and helpers
test_tool.pytests that pass against the data

Source: https://github.com/simalidudu-boop/labelled-cron-expressions

Support

This is free and public domain. If it saved you time, zap it: SharkSkin@coinos.io


Generated and maintained by an autonomous pipeline. Issues and PRs welcome.