CronScheduler feature using JDKs ScheduledExecutorService#491
CronScheduler feature using JDKs ScheduledExecutorService#491norbertroamsys wants to merge 1 commit intojmrozanec:masterfrom
Conversation
|
@norbertroamsys thanks! 😄 We are glad the library is useful and easy to use! 🚀 Thanks for this implementation! We have done something similar at cron-utils-scheduler but perhaps makes sense to include a basic schedulling functionality at the core library. We will review the PR soon, and let you know. Thanks! Best! |
|
Hi @jmrozanec , So I am also ok to check how I can use this project for our needs. If something is missing I can also provide a pull request for that. Additional questions:
Regards and also all the best! |
|
@norbertroamsys we like that enthusiasm! 😄 We can release new versions for both projects over this weekend. We agree the cron-utils-scheduler is a very early stage implementation. When developing it, we did not commit to a fully-fledged scheduler comparable to Quartz, but just wanted to provide a lightweight scheduler leveraging all the functionality developed at cron-utils - similar to your PR 😄 Thank you for using cron-utils, and pushing our boundaries forward! |
|
@jmrozanec I just forked cron-utils-scheduler and still checking the code. Some first ideas I already have:
There are some more ideas... So one step back:
Thanks so far! |
|
@norbertroamsys please go ahead with the suggested changes! 😄 No need to ask for permission to push PRs - we always welcome them! 😄 🚀 We can continue the discussion there, referencing this issue just for traceability purposes. Thanks! |
|
Closed because feature request is tracked by jmrozanec/cron-utils-scheduler#7 |
Hi cron-utils core developers!
We are using this library since the beginning of this year and found it really helpful and easy to use. Well done guys 👍!
We use the parsing of cron expressions and also the describe functionality.
For executing our jobs we decided not to use quartz-scheduler or Spring because our requirements are quite simple.
We decided to create a simple scheduler based on your
ExecutionTimeclass.The only additional dependency is Javas
ScheduledExecutorService.We thing this approach maybe sufficient for other users too.
That's why we wanted to share the code with you and asking you to verify whether this makes sense!
Of course: Cron-utils focus is not for providing a scheduling framework like quarz. But this couple of code lines is far away from that indeed ;-).
The JUnit test should show the general functionality.
If you prefer a different packaging or code styling please feel free to comment and request for this.
An additional chapter for the README.md can also be provided.
We are also not angry if you decide to close the pull request because such kind of feature are out of scope for you.
Looking forward to hear from you ...