| 
									
										
										
										
											2015-10-06 17:56:47 +05:30
										 |  |  | ========================================================================= | 
					
						
							| 
									
										
										
										
											2015-09-30 23:30:45 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  | ## 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. | 
					
						
							|  |  |  | ##### Spring boot application, Main class
 | 
					
						
							|  |  |  | ###
 | 
					
						
							|  |  |  | ``` | 
					
						
							|  |  |  | 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: | 
					
						
							|  |  |  |     ``` | 
					
						
							|  |  |  |     using.spring.schedulerFactory=true | 
					
						
							|  |  |  |     ```     | 
					
						
							|  |  |  |   - To configure scheduler using Quartz API:  | 
					
						
							|  |  |  |     ``` | 
					
						
							|  |  |  |     using.spring.schedulerFactory=false | 
					
						
							| 
									
										
										
										
											2018-05-02 13:11:09 +05:30
										 |  |  |     ``` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### Relevant Articles: 
 | 
					
						
							|  |  |  | - [Scheduling in Spring with Quartz](http://www.baeldung.com/spring-quartz-schedule) | 
					
						
							|  |  |  |      |