Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need documentation for supported cron expressions #119

Closed
mTsBucy1 opened this issue Jul 22, 2023 · 1 comment
Closed

Need documentation for supported cron expressions #119

mTsBucy1 opened this issue Jul 22, 2023 · 1 comment

Comments

@mTsBucy1
Copy link

mTsBucy1 commented Jul 22, 2023

I was trying to use this crate to parse crontab expression as generated by https://crontab.guru/ or as documented by wikipedia article https://en.wikipedia.org/wiki/Cron#Cron_expression. In particular do neither of them include the second field. However, this crate accepts only expressions with 6 or 7 field (following the Oracle conventions https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). This discrepancy should at least be documented. Other non-standard extensions, such as the optional year and the @ shorthands should also be mentioned.

Addtionally, I would still like to use the second-less expression and I've noticed there was once an issue #5 about the optional seconds field, I guess it was dropped in favour of the optional year field. Is there any possibility of support for this adding this?

Thanks for your work!

@mTsBucy1 mTsBucy1 changed the title Need documentation for Supported cron expressions Need documentation for supported cron expressions Jul 22, 2023
@mTsBucy1
Copy link
Author

I've noticed this is essentially a duplicate of #37 (comment), sorry for this, but I would still appreciate a quick README / Docs.rs comment.

@mTsBucy1 mTsBucy1 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant