davidkiss/spring-boot-quartz-demo

How to schedule a job programmatically

ahmed-adly-khalil opened this issue · 2 comments

Hello,
Sorry i know this was last visited a while back.

I can run the code successfully but don't know how to start a job programmatically as the current job fires with the application start.

Thank you

Same as @ahmed-adly-khalil, The example is super useful but the implementation uses hardcoded params and the createTrigger(JobDetail jobDetail, long pollFrequencyMs) method with no indication of how to call it programatically

Not sure I get it. Is this helpful: https://stackoverflow.com/questions/55344238/dynamic-job-scheduling-in-spring-boot-with-quartz-scheduler?

If not, please provide more details on what you'd like to achieve.