cron
cron copied to clipboard
A cron expression parser in Rust
This is a fantastic crate! However, I'm running into some issues because it seems that Schedule::after doesn't take milliseconds into account. This shows up when iterating over the upcoming times...
I’d like to use this tool as a CLI, but I don’t know it’s possible since its README doesn’t mention about it. If it’s not possible for now, is there...
It is sometimes useful to get the past expected runs of a cron expression. So it would be great to have a `Schedule::before`, working the same as `Schedule::after`, but going...
The string `1/0` causes a panic when fed to `cron::Schedule::from_str` (0.11.0): ```rs thread 'testing' panicked at 'assertion failed: step != 0', /rustc/6dd68402c5d7da168f87d8551dd9aed1d8a21893/library/core/src/iter/adapters/step_by.rs:21:9 stack backtrace: 0: rust_begin_unwind at /rustc/6dd68402c5d7da168f87d8551dd9aed1d8a21893/library/std/src/panicking.rs:584:5 1: core::panicking::panic_fmt...
- Pulled `ScheduleFields` and `Field` to their own file. - Pulled OrdinalIter and OrdinalRangeIter to the ordinal.rs file. - in the end I decided that it might be better to...
Current work for #77. Still a work in progress. It has a logical errror I'm trying to fix. After that I'm looking into combining prev_from and next_after using an enum...
Items in this list need to be completed before 1.0 is cut, but they will be released incrementally in minor version bumps. TODO: - [x] `PartialEq` and `Eq` implementations for...
I am observing an issue where using a cron set to a date next year but already passed this years results in no upcoming date. Observed behavior: I am posting...
It seems that we have supported predefined schedules like `@yearly`. Any plan to support `@every `?
Hi, First of all, thanks for this great crate. However, the numbering of weekdays seems unusual to me. On the machines I usually work, the crontab uses a 0 for...