Skip to content

Commit 4f8f27e

Browse files
committed
update README.md
1 parent 6e69a3c commit 4f8f27e

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ The scheduler supports the following fields:
8383
:trigger #cronut/trigger {:type :simple
8484
:interval 3000
8585
:repeat :forever
86-
:identity ["trigger-two" "test"]
86+
:name "trigger-two"
87+
:group "test-group"
8788
:description "test trigger"
8889
:start #inst "2019-01-01T00:00:00.000-00:00"
8990
:end #inst "2019-02-01T00:00:00.000-00:00"
@@ -189,7 +190,8 @@ The `#cronut/trigger` tagged literal supports the full set of Quartz configurati
189190
:trigger #cronut/trigger {:type :simple
190191
:interval 3000
191192
:repeat :forever
192-
:identity ["trigger-two" "test"]
193+
:name "trigger-two"
194+
:group "test-group"
193195
:description "sample simple trigger"
194196
:start #inst "2019-01-01T00:00:00.000-00:00"
195197
:end #inst "2019-02-01T00:00:00.000-00:00"
@@ -199,7 +201,8 @@ The `#cronut/trigger` tagged literal supports the full set of Quartz configurati
199201
;;cron
200202
:trigger #cronut/trigger {:type :cron
201203
:cron "*/6 * * * * ?"
202-
:identity ["trigger-five" "test"]
204+
:name "trigger-five"
205+
:group "test-group"
203206
:description "sample cron trigger"
204207
:start #inst "2018-01-01T00:00:00.000-00:00"
205208
:end #inst "2029-02-01T00:00:00.000-00:00"
@@ -292,7 +295,8 @@ Integrant configuration source: [dev-resources/config.edn](dev-resources/config.
292295
:trigger #cronut/trigger {:type :simple
293296
:interval 3000
294297
:repeat :forever
295-
:identity ["trigger-two" "test"]
298+
:name "trigger-two"
299+
:group "test-group"
296300
:description "test trigger"
297301
:start #inst "2019-01-01T00:00:00.000-00:00"
298302
:end #inst "2019-02-01T00:00:00.000-00:00"
@@ -314,7 +318,8 @@ Integrant configuration source: [dev-resources/config.edn](dev-resources/config.
314318
:opts #ig/ref :job/two-opts
315319
:trigger #cronut/trigger {:type :cron
316320
:cron "*/6 * * * * ?"
317-
:identity ["trigger-five" "test"]
321+
:name "trigger-five"
322+
:group "test-group"
318323
:description "another-test trigger"
319324
:start #inst "2018-01-01T00:00:00.000-00:00"
320325
:end #inst "2029-02-01T00:00:00.000-00:00"
@@ -334,7 +339,6 @@ Integrant configuration source: [dev-resources/config.edn](dev-resources/config.
334339
:trigger #cronut/trigger {:type :cron
335340
:cron "*/5 * * * * ?"
336341
:misfire :do-nothing}}]}}
337-
338342
````
339343

340344
## Job definitions

dev-resources/config.edn

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
:trigger #cronut/trigger {:type :simple
3030
:interval 3000
3131
:repeat :forever
32-
:identity ["trigger-two" "test"]
32+
:name "trigger-two"
33+
:group "test-group"
3334
:description "test trigger"
3435
:start #inst "2019-01-01T00:00:00.000-00:00"
3536
:end #inst "2019-02-01T00:00:00.000-00:00"
@@ -51,7 +52,8 @@
5152
:opts #ig/ref :job/two-opts
5253
:trigger #cronut/trigger {:type :cron
5354
:cron "*/6 * * * * ?"
54-
:identity ["trigger-five" "test"]
55+
:name "trigger-five"
56+
:group "test-group"
5557
:description "another-test trigger"
5658
:start #inst "2018-01-01T00:00:00.000-00:00"
5759
:end #inst "2029-02-01T00:00:00.000-00:00"

0 commit comments

Comments
 (0)