-
Notifications
You must be signed in to change notification settings - Fork 262
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
CronBuilder: support java.time.Duration #427
Comments
@cdalexndr may you elaborate a bit more on this? |
My use case is that I want to use a single constant value that is used as a Duration for cache expiry and also as a cron job for regular cache repopulation. So I need some method to convert from a constant Duration to cron (the inverse is not be possible for any cron).
Example mappings: |
It seems that some values cannot be mapped correctly, so only simple durations should be accepted. As there is not an universal conversion, this feature doesn't sound as good now so it's remains at your discretion. |
@cdalexndr thank you for the details. We will have a more detailed look at the use case and decide if we can provide a good solution for it. Best! 😄 |
Hey I would like to take this up as a part of Hacktober fest. |
@MehWhatever sure! Thanks! |
@MehWhatever do we have any updates on this? Thanks! |
@MehWhatever do we have some update on this? Thanks! |
Does this have any progress? |
Construct a cron from java.time.Duration
The text was updated successfully, but these errors were encountered: