Announcement Announcement Module
Collapse
No announcement yet.
Configure CronTriggerBean at runtime Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configure CronTriggerBean at runtime

    How to create CronTriggerBean at runtime? I need to read the configuration details from database and create CronTriggerBean on application startup.

  • #2
    Any solusion will be a great help.

    Comment


    • #3
      I havent used CronTriggerBean before..but what you could possibly do is specify initialization code in the init method of that springbean..the init method gets called at server startup and you can specify the method to be called on init in the spring config files.

      Comment


      • #4
        Use a bean reference to the SchedulerFactoryBean to get direct access to the org.quartz.Scheduler. The Scheduler allows you to create new jobs and triggers at runtime, and also to control and monitor the Scheduler.

        Comment

        Working...
        X