By the way, overtone has made a simple library for scheduled task. You may take a look:
https://github.com/overtone/at-at

On Mon 11 Jun 2012 04:31:41 PM CST, Joao_Salcedo wrote:
hi Trevor could you share how did you solve the issue.

I would like to learn more about it.
If you can share your solution would be great

On Saturday, January 8, 2011 4:13:17 AM UTC+11, Trevor wrote:

    What's the best way to kick off Clojure code at scheduled times? I
    have some that would run once a day. Some that might run 2 or 3 times
    a day based upon a test being met.

    1. I could write a function that sleeps an interval, check the time
    differential to perform a time-box triggered function, but would that
    consume too much memory?, cause long term problems?

    2. I could use quartz, but that seems like overkill.

    3. I could set a job-schedule using the OS to run a clojure script.
    I'd rather not, I would like to do things like send emails / check
    status via web app (making option 1 more appealing).

    I'm looking for input/guidance. What are your experiences?

    Thanks,

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