execute a function at an interval
add to your project.clj dependencies
[every "0.0.1"]
(require '[every.core :refer (every)])
(defn do-somthing-awesome []
(println "oh yes"))
;; you may specify
;; ms, s, m, h, d
(every "10s" do-somthing-awesome)
;; you may also specify a limit of total calls
(every "10s" do-somthing-awesome 20)
Copyright © 2016 Brian Hurlow
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.