frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

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

https://github.com/hugoj0s3/NaturalCron
34•hugoj0s3•15h 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•6h ago
How flexible is the syntax? Can I write whatever and have a chance it parses correctly?
loloquwowndueo•5h 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•5h 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•4h 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•4h ago
Cron syntax sucks. Cron is good for a few small use cases but sucks for real world scheduling.
perching_aix•4h 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.

easygenes•4h 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.

C++26 Reflections adventures and compile-time UML

https://www.reachablecode.com/2025/07/31/c26-reflections-adventures-compile-time-uml/
69•ibobev•4h ago•14 comments

Helsinki records zero traffic deaths for full year

https://www.helsinkitimes.fi/finland/finland-news/domestic/27539-helsinki-records-zero-traffic-deaths-for-full-year.html
548•DaveZale•3d ago•298 comments

Telo MT1

https://www.telotrucks.com/
466•turtleyacht•12h ago•434 comments

Micron rolls out 276-layer SSD trio for speed, scale, and stability

https://blocksandfiles.com/2025/07/30/micron-three-276-layer-ssds/
12•rbanffy•3d ago•0 comments

6 weeks of Claude Code

https://blog.puzzmo.com/posts/2025/07/30/six-weeks-of-claude-code/
318•mike1o1•2d ago•329 comments

HTML-in-Canvas

https://github.com/WICG/html-in-canvas
104•dannyobrien•6h ago•51 comments

Lina Khan points to Figma IPO as vindication of M&A scrutiny

https://techcrunch.com/2025/08/02/lina-khan-points-to-figma-ipo-as-vindication-for-ma-scrutiny/
128•bingden•7h ago•120 comments

Remote hosting for your telescope

https://www.sierra-remote.com/
91•gregorvand•3d ago•29 comments

Writing a basic service for GNU Guix

https://tannerhoelzel.com/gnu-shepherd-simple-service.html
4•hermitsings•1h ago•0 comments

The Crisis of Professional Skepticism

https://mitchhorowitz.substack.com/p/the-crisis-of-professional-skepticism
24•mathgenius•6h ago•9 comments

Anandtech.com now redirects to its forums

https://forums.anandtech.com/
179•kmfrk•15h ago•37 comments

Ongoing Lean formalisation of the proof of Fermat's Last Theorem

https://github.com/ImperialCollegeLondon/FLT
53•anonyonoor•2d ago•25 comments

Super-resolution of Sentinel-2 images (10M –> 5M)

https://github.com/Topping1/L1BSR-GUI
14•mixtape2025-1•3d ago•1 comments

We may not like what we become if A.I. solves loneliness

https://www.newyorker.com/magazine/2025/07/21/ai-is-about-to-solve-loneliness-thats-a-problem
375•defo10•18h ago•759 comments

PixiEditor 2.0 – A FOSS universal 2D graphics editor

https://pixieditor.net/blog/2025/07/30/20-release/
185•ksymph•2d ago•21 comments

Online Collection of Keygen Music

https://keygenmusic.tk
230•mifydev•4d ago•59 comments

LangExtract: Python library for extracting structured data from language models

https://github.com/google/langextract
32•simonpure•3d ago•3 comments

Mezzano, an operating system written in Common Lisp

https://github.com/froggey/Mezzano
60•dargscisyhp•3d ago•1 comments

The Art of Multiprocessor Programming 2nd Edition Book Club

https://eatonphil.com/2025-art-of-multiprocessor-programming.html
240•eatonphil•15h ago•35 comments

At a Loss for Words: A flawed idea is teaching kids to be poor readers (2019)

https://www.apmreports.org/episode/2019/08/22/whats-wrong-how-schools-teach-reading
117•Akronymus•16h ago•108 comments

Parsing without ASTs and Optimizing with Sea of Nodes [video]

https://www.youtube.com/watch?v=NxiKlnUtyio
7•surprisetalk•2h ago•0 comments

Browser extension and local backend that automatically archives YouTube videos

https://github.com/andrewarrow/starchive
147•fcpguru•12h ago•66 comments

Neural networks that learn non-linearity without activation functions [pdf]

https://www.tahabouhsine.com/nmn/assets/deep_learning_two_point_o_point_one.pdf
7•mlnomadpy•3d ago•4 comments

A.I. researchers are negotiating $250M pay packages

https://www.nytimes.com/2025/07/31/technology/ai-researchers-nba-stars.html
205•jrwan•17h ago•355 comments

The /o in Ruby regex stands for "oh the humanity "

https://jpcamara.com/2025/08/02/the-o-in-ruby-regex.html
144•todsacerdoti•14h ago•34 comments

Compressing Icelandic name declension patterns into a 3.27 kB trie

https://alexharri.com/blog/icelandic-name-declension-trie
203•alexharri•17h ago•75 comments

The Big Oops in type systems: This problem extends to FP as well

https://danieltan.weblog.lol/2025/07/the-big-oops-in-type-systems-this-problem-extends-to-fp-as-well
85•ksymph•2d ago•53 comments

Great Question (YC W21) Is Hiring a VP of Engineering (Remote)

https://www.ycombinator.com/companies/great-question/jobs/ONBQUqe-vp-of-engineering
1•nedwin•11h ago

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

https://github.com/hugoj0s3/NaturalCron
34•hugoj0s3•15h ago•7 comments

Show HN: WebGPU enables local LLM in the browser – demo site with AI chat

https://andreinwald.github.io/browser-llm/
117•andreinwald•14h ago•41 comments