Cronos
Cronos copied to clipboard
A fully-featured .NET library for working with Cron expressions. Built with time zones in mind and intuitively handles daylight saving time transitions
Hello there! This issue was initially spotted using Hangfire jobs scheduler, but I managed to investigate it to the following point: So, imagine we have a cron `0 0 2...
`CronExpression.TryParse("", out var cronExpression);` This throws ArgumentNullException. ``` at Cronos.CronExpression.Parse(String expression, CronFormat format) at Cronos.CronExpression.TryParse(String expression, CronFormat format, CronExpression& cronExpression) at Cronos.CronExpression.TryParse(String expression, CronExpression& cronExpression) at Program.$(String[] args) in .\Program.cs:line...
fix OverflowException when True
Hi, may be I am wrong somewhere but with the following cron, `0 18 16 ? * SUN,MON,TUE,WED,THU,FRI,SAT` ```csharp // I call it at while (!cancellationToken.IsCancellationRequested) { DateTime now =...
Closes #88. Worth noting: I develop on a Mac, and 12 of the test cases fail on `main` (without any changes), mainly around DST handling. I did not fix them....
I might (and often do) have the following requirements: 1. I want a job to run every 30 minutes. 2. I don't care what the actual time of the execution...
When trying to get v0.11.0 Cronos binary Assembly version it returns 0.0.0.0, previous versions worked fine. v0.11.0: ``` Major Minor Build Revision ----- ----- ----- -------- 0 0 0 0...
This is not an issue connected to this library per se, but while implementing Cron-parsers for JS/TS (croner) and Rust (croner-rust), it became apparent that there is no common specification...