You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
# Change Log
2
2
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
3
3
4
+
## [1.2.0] - 2025-10-03
5
+
6
+
- Demonstrate configuration where jobs and opts are separate (as per Cronut 1.2.0)
7
+
4
8
## [1.1.0] - 2025-10-02
5
9
6
10
- Breakout cronut-integrant and cronut-javax into separate project repositories
Cronut-Integrant provides bindings for [Cronut](https://github.com/factorhouse/cronut)
9
9
to [Integrant](https://github.com/weavejester/integrant), the DI micro-framework.
10
10
11
-
Compatible with either [Cronut](https://github.com/factorhouse/cronut) or [Cronut-Javax](https://github.com/factorhouse/cronut-javax) depending on your requirement of Jakarta or Javax.
11
+
Compatible with either [Cronut](https://github.com/factorhouse/cronut)
12
+
or [Cronut-Javax](https://github.com/factorhouse/cronut-javax) depending on your requirement of Jakarta or Javax.
|[cronut](https://github.com/factorhouse/cronut)| Cronut with [Jakarta](https://en.wikipedia.org/wiki/Jakarta_EE) support (Primary) |[](https://clojars.org/io.factorhouse/cronut)|
18
+
|[cronut](https://github.com/factorhouse/cronut)| Cronut with [Jakarta](https://en.wikipedia.org/wiki/Jakarta_EE) support (Primary) |[](https://clojars.org/io.factorhouse/cronut)|
18
19
|[cronut-javax](https://github.com/factorhouse/cronut-javax)| Cronut with [Javax](https://jakarta.ee/blogs/javax-jakartaee-namespace-ecosystem-progress/) support (Legacy) |[](https://clojars.org/io.factorhouse/cronut-javax)|
19
20
20
21
# Contents
@@ -48,25 +49,44 @@ Compatible with either [Cronut](https://github.com/factorhouse/cronut) or [Cronu
48
49
49
50
A quartz `scheduler` runs a `job` on a schedule defined by a `trigger`.
50
51
52
+
A `job` or `trigger` is uniquely identified by a `key` consisting of a `name` and (optional) `group`.
53
+
54
+
A `job` can have multiple `triggers`, a `trigger` is for a single `job` only.
55
+
51
56
## `:cronut/scheduler` definition
52
57
53
58
Cronut provides access to the Quartz Scheduler, exposed via Integrant with `:cronut/scheduler`
54
59
55
60
The scheduler supports the following fields:
56
61
57
-
1.`:schedule`: (required) - a sequence of 'items' to schedule, each being a map containing a :job and :trigger
62
+
1.`:schedule`: (required) - a sequence of 'items' to schedule, each being a map containing a :job:, :opts, and :trigger
58
63
2.`:concurrent-execution-disallowed?`: (optional, default false) - run all jobs with @DisableConcurrentExecution
59
64
3.`:update-check?`: (optional, default false) - check for Quartz updates on system startup
;; Note: This job misfires because it takes 7 seconds to run, but runs every 5 seconds, and isn't allowed to run concurrently with {:disallowConcurrentExecution? true}
280
331
;; So every second job fails to run, and is just ignored with the :do-nothing :misfire rule
281
-
{:job #ig/ref :test.job/three
332
+
{:job #ig/ref :job/three
333
+
:opts {:name"job3"
334
+
:description"test job 3, identity by name only - default group"}
;; Note: This job misfires because it takes 7 seconds to run, but runs every 5 seconds, and isn't allowed to run concurrently with {:disallowConcurrentExecution? true}
67
67
;; So every second job fails to run, and is just ignored with the :do-nothing :misfire rule
68
-
{:job #ig/ref :test.job/three
68
+
{:job #ig/ref :job/three
69
69
:opts {:name"job3"
70
70
:description"test job 3, identity by name only - default group"}
0 commit comments