quartz-easy

Quartz Scheduler integration in Spring Boot Framework

License

License

Categories

Categories

Quartz Application Layer Libs Job Scheduling
GroupId

GroupId

com.indusnode
ArtifactId

ArtifactId

quartz-easy
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

quartz-easy
Quartz Scheduler integration in Spring Boot Framework
Project URL

Project URL

https://github.com/mejariamol/quartz-easy
Source Code Management

Source Code Management

http://github.com/mejariamol/quartz-easy/tree/master

Download quartz-easy

How to add to project

<!-- https://jarcasting.com/artifacts/com.indusnode/quartz-easy/ -->
<dependency>
    <groupId>com.indusnode</groupId>
    <artifactId>quartz-easy</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.indusnode/quartz-easy/
implementation 'com.indusnode:quartz-easy:1.0.0'
// https://jarcasting.com/artifacts/com.indusnode/quartz-easy/
implementation ("com.indusnode:quartz-easy:1.0.0")
'com.indusnode:quartz-easy:jar:1.0.0'
<dependency org="com.indusnode" name="quartz-easy" rev="1.0.0">
  <artifact name="quartz-easy" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.indusnode', module='quartz-easy', version='1.0.0')
)
libraryDependencies += "com.indusnode" % "quartz-easy" % "1.0.0"
[com.indusnode/quartz-easy "1.0.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-web jar
org.quartz-scheduler : quartz jar 2.3.0

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar

Project Modules

There are no modules declared in this project.

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. ๐Ÿ˜„ ๐Ÿ‘

Versions

Version
1.0.0