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

推荐订阅源

博客园 - Franky
J
Java Code Geeks
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
博客园 - 司徒正美
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
L
LangChain Blog
WordPress大学
WordPress大学
A
About on SuperTechFans
Martin Fowler
Martin Fowler
月光博客
月光博客
Y
Y Combinator Blog
U
Unit 42
D
Docker
Recent Announcements
Recent Announcements
Hugging Face - Blog
Hugging Face - Blog
B
Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
Last Week in AI
Last Week in AI
T
The Blog of Author Tim Ferriss
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

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!