Need to set the quartz cron expression dynamically

后端 未结 3 1721
盖世英雄少女心
盖世英雄少女心 2020-12-30 13:48

I\'m using quartz in my web application (Servlet web app) following is snap of quartz.property file and the quartz.job.xml

quartz.property

#========         


        
3条回答
  •  梦毁少年i
    2020-12-30 14:44

    Use Quartz api. Programmatically take this trigger instance, cast it to CronTrigger instance and use it's setCronExpression to put expression dynamically.

提交回复
热议问题