惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
WordPress大学
WordPress大学
Jina AI
Jina AI
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
N
Netflix TechBlog - Medium
腾讯CDC
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
月光博客
月光博客
博客园 - Franky
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
雷峰网
雷峰网
小众软件
小众软件
H
Hackread – Cybersecurity News, Data Breaches, AI and More

HN's home page

Rainbow Query Language | Hacker News Exec into Node via Kubectl An AI native hedge fund The Seven-Action Documentation Model | Hacker News Package Manager for Kubectl Plugins Tongan Castaways | Hacker News Tech overlords plan for conscious AI to conquer the cosmos. What could go wrong? Data Breach Disclosure Lag Is Getting Worse How LLMs Work | Hacker News I Dropped PRDs for Shape Up Go Experiments Explained | Hacker News FCA's Palantir deal could expose UK financial data to Trump's US, critics fear WebXR BCI for Neural-Adaptive Avatar Control in Mixed Reality The first murder conviction via DNA analysis Tom Interviews Theo de Raadt of the OpenBSD Project (2019) [video] Show HN: Replace shell commands with bun shell typescript scripts Quay.io Is Down | Hacker News AI driven analysis of brokerage account fees in the UK Bill Gates Spent Years Crafting His Image. Now It's Cracking Using LLMs to secure source code Wi-Fi 8 in the Lab [video] The household battery revolution that could change energy bills and the world Is Python Becoming Pinyin? | Hacker News Livia – Executive Assistant | Hacker News FindMyPipe – Query Apple Find My from Linux for AI Agents Show HN: Agent skill for creating product launch videos with Remotion RecruitMyself – AI job search copilot for resumes and applications AI coding agents and the erosion of system understanding The 'Resting' Generation and South Korea's Youth Recession AMD Computex 2026: 10 Years of AM4, AM5 Support Through 2029
Show HN: Cron-naturally – plain English to cron and back,...
Stezu · 2026-06-16 · via HN's home page

I built this because I can never remember cron's syntax. The ordering of the slots, what / vs , vs - do, day-of-week being 0-indexed, and how many fields there even are. "Every 5 minutes" is trivial compared to /5 * * * * which I just had to stop and count the stars to make sure I hadn't forgotten one. The format requires me to second guess myself every. single. time.

cronstrue already does cron → English well, but I wanted both directions for this UX plus the next-run preview in one small library, so cron-naturally translates both ways. Type "every weekday at 9am" and it'll return 0 9 * * 1-5. Paste a cron and you'll see a field-by-field breakdown plus the next few run times in your timezone so you can see the real world implications.

It's deterministic (i.e. it uses regexes) so there's no need for an LLM, an API key, latency, etc. It can run entirely client-side and is powering the demo page natively. It's licensed under MIT with no runtime deps.

Pulled it out of a product I'm building where users set workflow schedules in plain English and these features all made the UX really intuitive.

Demo: https://rillsai.github.io/cron-naturally Repo: https://github.com/rillsai/cron-naturally npm: https://www.npmjs.com/package/cron-naturally

Feedback (and translations) welcome!