cronj
This is another cron-inspired task-scheduling library. I have found
many scheduling libraries for clojure:

 - quartzite
 - cron4j
 - clj-cronlike
 - at-at
 - monotony

The first three all follow the cron convention. The "task" (also
called a "job") can only be scheduled at whole minute intervals. at-at
has milli-second resolution, but was limited in the number of threads
that have to be predetermined. It was good for looking after tasks
that did not overlap between calls but not for tasks that may take an
arbitarily long time. monotony uses core.logic, which is something
that I am yet to understand.

cronj is little different due to design requirements in the project
that I am working on:
  - starts scheduled tasks at a per-second interval having high system-
time accuracy without wasting system resourcs.

  - would spawn as many threads as needed, so that tasks started at
earlier intervals could exist along side tasks started at later
intervals.

  - an additional design requirement required that task handlers are
passed a date-time object, so that the handler itself is aware of the
time when it was initiated.

it can be found at:
https://github.com/zcaudate/cronj

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