2019-09-20 16:31:59 +01:00
|
|
|
## Spring Quartz
|
2015-09-30 23:30:45 +05:30
|
|
|
|
2019-09-20 16:31:59 +01:00
|
|
|
This module contains articles about Spring with Quartz
|
|
|
|
|
|
|
|
### Relevant Articles:
|
2019-10-02 11:30:08 -06:00
|
|
|
- [Scheduling in Spring with Quartz](https://www.baeldung.com/spring-quartz-schedule)
|
2019-09-20 16:31:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
## #Scheduling in Spring with Quartz Example Project
|
2015-10-06 17:56:47 +05:30
|
|
|
This is the first example where we configure a basic scheduler.
|
2019-09-20 16:31:59 +01:00
|
|
|
|
2015-10-06 17:56:47 +05:30
|
|
|
##### Spring boot application, Main class
|
2019-09-20 16:31:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
`org.baeldung.springquartz.SpringQuartzApp`
|
2015-09-30 23:30:45 +05:30
|
|
|
|
2015-10-06 17:56:47 +05:30
|
|
|
##### Configuration in *application.properties*
|
|
|
|
|
|
|
|
- Default: configures scheduler using Spring convenience classes:
|
2018-05-02 13:11:09 +05:30
|
|
|
|
2019-09-20 16:31:59 +01:00
|
|
|
`using.spring.schedulerFactory=true`
|
|
|
|
|
|
|
|
- To configure scheduler using Quartz API:
|
|
|
|
|
|
|
|
`using.spring.schedulerFactory=false`
|