I agree with Michael. Specifically, the ScheduledExecutorService <http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ScheduledExecutorService.html> is probably what you want. Note that Clojure functions implement Runnable, so you can pass one directly to the executor.
Cheers, Colin On 17 July 2014 12:51, Michael Klishin <michael.s.klis...@gmail.com> wrote: > On 17 July 2014 at 14:40:57, Thomas (th.vanderv...@gmail.com) wrote: > > > Any ides how best to achieve this in Clojure? I already had a look > > at the various scheduling libraries (at-at, cronj and Quartzite), > > but from what I understand they don't support this behaviour, > > but please correct me if I am wrong. > > JDK executors. Quartzite can do what you want but you don't need a lot of > its > functionality so try JDK executors first. > -- > MK > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.