Quantcast
Channel: How can I dynamically create Triggers in Spring Boot using Quartz? - Stack Overflow
Browsing index pages (2 articles)

How can I dynamically create Triggers in Spring Boot using Quartz?

I have a code like this: @Component public class SampleJob implements Job { @Autowired private SampleTask sampleTask; @Override public void execute(JobExecutionContext jobExecutionContext) throws...

View Article


Answer by Rodrigo Villalba Zayas for How can I dynamically create Triggers in...

You just need to create a durable job once and then create all triggers for that job. @Service class QuartzService { @Autowired private SchedulerFactoryBean schedulerFactoryBean; void...

View Article

Browsing index pages (2 articles)


Latest Images