Dynamically scheduling quartz cron job in spring?

前端 未结 2 698
攒了一身酷
攒了一身酷 2021-01-06 06:13

Currently I\'m running Quartz scheduler example in this link http://www.mkyong.com/spring/spring-quartz-scheduler-example/

My question is this How can I add a dynami

相关标签:
2条回答
  • 2021-01-06 06:42

    To solve this issue, I used the approach used in a blog entry titled Dynamic Scheduling with Java/Spring

    0 讨论(0)
  • 2021-01-06 07:01

    Inject the Scheduler into one of your beans and invoke scheduleJob(). You can pass it anything you want.

    0 讨论(0)
提交回复
热议问题