`java.time.Duration` as a time period?
Thanks for the amazing library. Do you see value in providing an API to schedule the task with a java.time.Duration time period? I understand that it is not exactly a crontab format.
I could contribute if you agree to the proposal.
Welcome with your first issue
Hello, thanks for your issue :) No, I still didn't thought about it, but I will :) thank yiu for an idea
Hello again :) sorry for that delay. Currently it looks like you want something like this:
val kronScheduler = buildScheduler(Duration.ofSeconds(1L))
kronScheduler.doInfinity {
println(it) // will print each second
}
Is it how do you see future realization?
Closed due to inactivity and unclear state of issue idea
Hey I apologise. I took a long timeoff from coding. I am back now. Yes. Your idea is perfectly what I meant. To be honest, I tried to do it myself, but I didn't reach anywhere.
Any chance to open up the ticket? I will be happy to help too, if you could point me in the right direction.
Hi :) glad to see you again :) Issue is open. If you want, you may try to create new KronScheduler and use it in buildScheduler based on Duration