Cronexpr
Languages and libraries
rust library
SHOW HN2024
How HN took it
1 positive, 6 neutral or asking, 0 mixed, 3 critical, out of 10 comments about the project. Thread score -0.16.
Design: 0 for, 2 againstDocs: 1 for, 0 againstIdea: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Well-documented syntax and non-standard features
From 1 comment
Looks well done. I like how the docs describe every syntax feature, and every non-standard feature in detail. Hat tip to implementing Vixie's "*,10" quirk, and to handling DST.
cuu508 on HN
Implements Vixie cron quirk and handles DST
From 1 comment
Looks well done. I like how the docs describe every syntax feature, and every non-standard feature in detail. Hat tip to implementing Vixie's "*,10" quirk, and to handling DST.
cuu508 on HN
Objections
Requiring timezone inside the expression is unusual; should be a separate parameter
From 1 comment
Requiring a timezone seems sensible to me, but I don't understand the choice to make it a required part of the expression, instead of a separate parameter. Most software…
Denvercoder9 on HN
Restrictions such as no comment support seem arbitrary
From 1 comment
So many of these restrictions feels arbitrary. Not supporting comments? Why? Assuming UTC for tz is not weird and cron users expect it, I guess why even support this specific…
aaomidi on HN
Requests
Optional timezone with fallback to system timezone
From 1 comment
Is `timezone` optional? I like it that it has the ability for one to provide it, but not providing it could just use the one the system has been configured to use.
qwertox on HN
Hashed value support for staggering jobs
From 1 comment
After working with Jenkins which has "hashed value" support for automatic staggering of jobs, I think its essential in any cron syntax evaluater.
epage on HN
Questions
How does it compare to Cloudflare's saffron?
From 1 comment
Is there a comparison to other cron parsing libraries like Saffron? https://github.com/cloudflare/saffron
vlovich123 on HN
Alternatives named
Cloudflare saffron
From 1 comment
There is also a cron parser library from Cloudflare which is used for their cron jobs: https://github.com/cloudflare/saffron
the_duke on HN
croner
From 1 comment
Croner has a table for the syntax supported by it and saffron [1], you can compare it with the one cronexpr supported. [1]…
tison on HN
APScheduler
From 1 comment
If you're into Python, APScheduler is the way to go. It also has a cron scheduler [0] which includes scheduling down to seconds and perfectly integrates with asyncio [1]. ```…
qwertox on HN