/clj-quartz

Quartz job scheduling

Primary LanguageClojure

clj-quartz

A Clojure library for scheduling and running jobs using the Quartz Scheduler.

Usage

You can see more information in the example.

;; see http://quartz-scheduler.org/documentation/quartz-2.x/configuration
;; for more information on configuration settings
(def defaults {"org.quartz.scheduler.instanceName" "Testing"
               "org.quartz.threadPool.threadCount" "1"
               "org.quartz.jobStore.class" "org.quartz.simpl.RAMJobStore"})

(def scheduler (create-scheduler defaults))

(start scheduler)

(println (metadata scheduler))

(shutdown scheduler)

License

Copyright © 2012 Paul Ingles.

Distributed under the Eclipse Public License, the same as Clojure.