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

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 URL: https://news.ycombinator.com/item?id=44767304

Points: 13

# Comments: 1

https://github.com/hugoj0s3/NaturalCron

Erstellt 4h | 02.08.2025, 23:10:09


Melden Sie sich an, um einen Kommentar hinzuzufügen