Hi

Why not use the OS task scheduler? On un*x there is good old cron or
at. On windoze there is similar task scheduler.

If you think a little that's what it takes: simple reliable and if it
fails with whatever error will start again in 2 minutes. Just don't
forget to write to log files , and rotate those files sometimes.

  I am sure there are more fancy solutions than cron, and some that
don't require megabytes of XML as the usual Java stuff

-Alex


On Oct 30, 6:05 am, Stefan Arentz <ste...@arentz.ca> wrote:
> What is a good and simple way to run periodic tasks in Clojure? I need  
> to run a simple function every couple of minutes. And make sure that  
> if it throws an exception that it won't kill the periodic task.
>
> I come from a Spring world where XML, Timers, Jobs and Quartz rule the  
> world, so am hoping for something small and elegant for Closure :-)
>
>   S.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to