cron
cron copied to clipboard
A cron expression parser in Rust
Here is a small code to reproduce, note that I dont know precisely if the bug is in this project or `chrono_tz`... Cargo.toml: ```toml [dependencies] cron = "0.9.0" chrono =...
Because I fixed two of the metaissues in #67 and I would like to use them easily in my own personal project. I was wondering what could be done to...
I can use values greater than 59 for seconds and minutes, and greater than 24 for hours, in a cron expressions, and that gives surprising values without errors. Example of...
PrevFromQuery and NextAfterQuery are almost the same. This is also true for next_after(...) and prev_from(...) in Schedule. This seems to break with the DRY principle. You could implement Query as...
The `year` field is currently optional, with expressions being comprised of six or seven fields accordingly. I would like to also accept expressions which have neither `seconds` nor `years`, for...
Hi, I see the spec for `DaysOfWeek` defines the rangs as `1 -> 7`. I'm using this project to parse cronfiles on a `debian/ubuntu`, [which uses](https://help.ubuntu.com/community/CronHowto) the range `0 ->...
Due to my unfamiliarity with `nom`'s error handling, the meaningful messages produced when errors occur are lost when bubbling up. The `map_res!` macro discards them.
- Need to spell out which `cron` expression features are supported and which ones (all non-standard) aren't. - Need meaningful `rustdoc` comments on the few public facing types/methods.
It would be nice if we have some examples for running cron with timezones because I definitely would be helped if there are some examples for that. I would be...
Hey! I learned of `cron` recently, and it looks very nice. Thank you! I'll just say, I'm using `fcron` as a daemon locally, because it brings useful features, like "every...