Announcement Announcement Module
Collapse
No announcement yet.
Inject a Trigger to the TaskScheduler Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inject a Trigger to the TaskScheduler

    Hi
    I just created a scheduled job with the new @Scheduled annotation and that works fine, Though I really need to be able to change the trigger time in runtime so I thought of implementing my own implementation with the Trigger interface.

    The Question is then how to use my new trigger without creating some initiation class to call "scheduler.schedule(task,myTrigger)" Is there not an way to inject this in configuration ?

    Thanks!
    /Anders

  • #2
    Hi,

    I got the same requirement, do you found a solution for this?

    Meex

    Comment

    Working...
    X