Skip to content

[obsolete] Quartz Scheduler integration in Spring Boot Framework

License

Notifications You must be signed in to change notification settings

mejariamol/quartz-easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quartz-easy

Maven Central

Quartz Scheduler integration in Spring Boot Framework

The purpose of this project is to simplify the quartz scheduler integration in spring boot framework. I came up with this while setting up quartz scheduler in one of the projects at work.

How to use

  1. Annotate your Job implementation with Scheduled annotation with required configuration by setting suitable fields present in the annotation.
import com.indusnode.quartz.annotation.Scheduled;
...
@Scheduled(interval="5", intervalType=Scheduled.IntervalType.SEC)
class TestJob implements Job {
    //...
}
  1. set application property qe.base-package as your base package name of the project which will contain all your job implementations.
  2. And you are done! No need to define factories, JobDetail, Triggers...etc.

NOTE: This library currently doesn't provide database support for quarts data. You may setup those settings in traditional way besides this library.

Installation

Maven

In a Maven project, include the quartz-easy artifact in the dependencies section of your pom.xml

<dependency>
  <groupId>com.indusnode</groupId>
  <artifactId>quartz-easy</artifactId>
  <version>1.0.0</version>
</dependency>

Java Gradle

implementation 'com.indusnode:quartz-easy:1.0.0'

For other build systems please refer Maven Central Repository.

Download

If you do not use maven, gradle, ivy, or other build systems that consume maven-style binary artifacts, they can be downloaded directly via the Maven Central Repository.

Contribute

Lets make this more simpler and effective! Looking forward to PRs. 😄👍

About

[obsolete] Quartz Scheduler integration in Spring Boot Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages