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
It looks like a `ToString` method is not symetric - what I mean by that is that one would expect from `CronExpression` to pass through Parse→ToString→Parse cycle to produce an...
This dll is really giving correct result. Just curious to know if there is any version available who can handle year as well. Currently, 6 octet cron expression is allowed.
I could very well be wrong about this. That happens a lot, but given the following setup, I'd expect all four tests to pass here. ``` private readonly TimeZoneInfo EST...
Hello, I want to know how I can get a Previous Ocurrence from a Cron expression. I tried reading the source code but couldn't understand how it works. The only...
Fortnight how to run a Job every Fortnight , It's every second SAT. or /14 days.
Is there any way to use Cronos to parse a cron expression and then expose it's schedule values? I'm trying to write a UI for setting/updating a schedule. So I...
Hello everyone, I am trying to run a script on both the first and second weekday of the month. While the first weekday is fine ( [0 0 1W *...
Further to https://github.com/HangfireIO/Cronos/issues/36#issuecomment-817316390, is there any plan to support `NodaTime` fully, either via an additional shim package or just by including `NodaTime` in the core functionality? For example, there's no...
Hi, here my simplified code : ```csharp CronExpression expression = CronExpression.Parse("0 4 * * *"); DateTimeOffset now = DateTimeOffset.Now; DateTimeOffset? next = _cronInfo.Expression.GetNextOccurrence(now, TimeZoneInfo.Local); if (next.HasValue) _timer.Interval = (next.Value -...
I am using a 3rd party lib that uses Cronos for handling cron expressions. This lib always uses `CronFormat.IncludeSeconds` internally so if I want to run sth. every minute I...