frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: NaturalCron – Human-Readable Scheduling for .NET (With Fluent Builder)

https://github.com/hugoj0s3/NaturalCron
40•hugoj0s3•6mo ago
Hi HN!

I built NaturalCron because I was tired of writing and debugging CRON syntax like:

/5 * * 5

Now you can write something human-readable in .NET:

var expression = new NaturalCronExpression("every 5 minutes on friday");

Or use a Fluent Builder for strong typing and IDE support:

var expression = NaturalCronExpressionBuilder .Every().Minutes(5) .On(DayOfWeek.Friday) .Build();

Great for: - Code-based scheduling in .NET apps - Overriding schedules from configs or databases - Displaying easy-to-read rules in UIs

NuGet: https://www.nuget.org/packages/NaturalCron GitHub: https://github.com/hugoj0s3/NaturalCron

Would love your feedback on syntax, builder design, and what features you'd like to see next!

Comments

BryanLegend•6mo ago
How flexible is the syntax? Can I write whatever and have a chance it parses correctly?
loloquwowndueo•6mo ago
> Because memorizing 0 18 * * 1-5 is harder than understanding every day between monday and friday at 6:00pm

Really? Does “Every day between Monday and Friday” include Monday and Friday? One could think the days between Monday and Friday are Tuesday, Wednesday and Thursday.

Why people don’t just learn cron syntax is beyond me.

jiggawatts•6mo ago
> Why people don’t just learn cron syntax is beyond me.

Because it looks like line noise, is unreadable to anybody not a UNIX/Linux admin, and is a standard in the same sense that the directory separator is the backslash on the majority of deployed desktops and servers.

More importantly: It’s also not extensible without being completely changed, which makes it a poor design.

Fluent builders can be trivially expanded to support new capabilities without breaking existing code or configuration.

Cron’s syntax was likely a quick and nasty thing thrown together by some student at Berkeley or wherever in the stone ages of computing. We shouldn’t be bound by these accidents of history in the same way we shouldn’t keep using Roman numerals these days.

loloquwowndueo•6mo ago
> It’s also not extensible without being completely changed, which makes it a poor design.

Fair enough but let’s please not replace it with something where the literal first example in the GitHub read me is ambiguous.

wordofx•6mo ago
Cron syntax sucks. Cron is good for a few small use cases but sucks for real world scheduling.
perching_aix•6mo ago
> Why people don’t just learn cron syntax is beyond me.

Maybe the better question to ponder is why is it something that needs explicit learning. It's a basic task scheduler.

The *nix format hell in general drives me insane. Immensely glad for the recent-ish trend of lots of applications at least slowly adopting JSON and others as both config and output options.

serf•6mo ago
essentially the answer is that after 40 years of polishing a 'basic' thing it's realized that there is near infinite nuance in use cases and workloads, even without feature bloat.
zipping1549•6mo ago
> why is it something that needs explicit learning. It's a basic task scheduler.

You still have to learn what exactly this sort of software can understand and that is, imo, no less of a time/effort needed to learn cron.

easygenes•6mo ago
I think this is good for people who only have occasional need for scheduling. I’ve used cron enough that I appreciate its compactness and would find this cumbersome and difficult.
herbst•6mo ago
I find Cron to be one of the clearest and most elegant Syntax solutions out there. Like you only have to understand it once and can assume the rest from looking at it. That's super elegant
teapot7•6mo ago
Cron is definitely not the biggest problem in my life. I've never had a problem with its format. I think this is a solution to a problem I don't have - and I tend to find that "English like" formats don't do me any favours.
lr0•6mo ago
That's nice but I don't think Cron syntax is a big of a problem, most of the time.
joshstrange•6mo ago
How does it handle “bi-weekly”?

At the end of the day, anyone using cron-type things should just learn cron syntax, it’s really not that difficult and there are a number of websites that you can use to assist or spot-check your work.

I’m always incredibly resistant to “human readable” for things like this because there is just too much ambiguity.

hugoj0s3•6mo ago
Cron is great and widely used—I’m not trying to replace it. This is just another option for situations where you need something more readable for non-technical users or when you want to store schedules in a database and display them in plain language. There are valid use cases for both approaches.

The goal is provide a format that’s user-friendly while still being precise enough for developers and systems to rely on. It’s especially useful for things like configurable schedules in apps, admin dashboards, or any context where end users and developers need to share the same language.

I appreciated the feedback and comments.

Twenty: A Modern Alternative to Salesforce

https://github.com/twentyhq/twenty
1•tosh•45s ago•0 comments

Raspberry Pi: More memory-driven price rises

https://www.raspberrypi.com/news/more-memory-driven-price-rises/
1•calcifer•6m ago•0 comments

Level Up Your Gaming

https://d4.h5go.life/
1•LinkLens•10m ago•1 comments

Di.day is a movement to encourage people to ditch Big Tech

https://itsfoss.com/news/di-day-celebration/
2•MilnerRoute•11m ago•0 comments

Show HN: AI generated personal affirmations playing when your phone is locked

https://MyAffirmations.Guru
2•alaserm•12m ago•1 comments

Show HN: GTM MCP Server- Let AI Manage Your Google Tag Manager Containers

https://github.com/paolobietolini/gtm-mcp-server
1•paolobietolini•13m ago•0 comments

Launch of X (Twitter) API Pay-per-Use Pricing

https://devcommunity.x.com/t/announcing-the-launch-of-x-api-pay-per-use-pricing/256476
1•thinkingemote•13m ago•0 comments

Facebook seemingly randomly bans tons of users

https://old.reddit.com/r/facebookdisabledme/
1•dirteater_•15m ago•1 comments

Global Bird Count

https://www.birdcount.org/
1•downboots•15m ago•0 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
2•soheilpro•17m ago•0 comments

Jon Stewart – One of My Favorite People – What Now? With Trevor Noah Podcast [video]

https://www.youtube.com/watch?v=44uC12g9ZVk
2•consumer451•19m ago•0 comments

P2P crypto exchange development company

1•sonniya•33m ago•0 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
1•jesperordrup•38m ago•0 comments

Write for Your Readers Even If They Are Agents

https://commonsware.com/blog/2026/02/06/write-for-your-readers-even-if-they-are-agents.html
1•ingve•38m ago•0 comments

Knowledge-Creating LLMs

https://tecunningham.github.io/posts/2026-01-29-knowledge-creating-llms.html
1•salkahfi•39m ago•0 comments

Maple Mono: Smooth your coding flow

https://font.subf.dev/en/
1•signa11•46m ago•0 comments

Sid Meier's System for Real-Time Music Composition and Synthesis

https://patents.google.com/patent/US5496962A/en
1•GaryBluto•53m ago•1 comments

Show HN: Slop News – HN front page now, but it's all slop

https://dosaygo-studio.github.io/hn-front-page-2035/slop-news
6•keepamovin•54m ago•1 comments

Show HN: Empusa – Visual debugger to catch and resume AI agent retry loops

https://github.com/justin55afdfdsf5ds45f4ds5f45ds4/EmpusaAI
1•justinlord•57m ago•0 comments

Show HN: Bitcoin wallet on NXP SE050 secure element, Tor-only open source

https://github.com/0xdeadbeefnetwork/sigil-web
2•sickthecat•59m ago•1 comments

White House Explores Opening Antitrust Probe on Homebuilders

https://www.bloomberg.com/news/articles/2026-02-06/white-house-explores-opening-antitrust-probe-i...
1•petethomas•59m ago•0 comments

Show HN: MindDraft – AI task app with smart actions and auto expense tracking

https://minddraft.ai
2•imthepk•1h ago•0 comments

How do you estimate AI app development costs accurately?

1•insights123•1h ago•0 comments

Going Through Snowden Documents, Part 5

https://libroot.org/posts/going-through-snowden-documents-part-5/
1•goto1•1h ago•0 comments

Show HN: MCP Server for TradeStation

https://github.com/theelderwand/tradestation-mcp
1•theelderwand•1h ago•0 comments

Canada unveils auto industry plan in latest pivot away from US

https://www.bbc.com/news/articles/cvgd2j80klmo
3•breve•1h ago•1 comments

The essential Reinhold Niebuhr: selected essays and addresses

https://archive.org/details/essentialreinhol0000nieb
1•baxtr•1h ago•0 comments

Rentahuman.ai Turns Humans into On-Demand Labor for AI Agents

https://www.forbes.com/sites/ronschmelzer/2026/02/05/when-ai-agents-start-hiring-humans-rentahuma...
1•tempodox•1h ago•0 comments

StovexGlobal – Compliance Gaps to Note

1•ReviewShield•1h ago•1 comments

Show HN: Afelyon – Turns Jira tickets into production-ready PRs (multi-repo)

https://afelyon.com/
1•AbduNebu•1h ago•0 comments