Browse files

prepare 1.0.0 release

  • Loading branch information...
1 parent e9ba296 commit d6f4de0785bb3a64dcbc46bd28ef9b07a7832e45 @samaaron samaaron committed Mar 29, 2012
Showing with 9 additions and 1 deletion.
  1. +8 −0
  2. +1 −1 project.clj
@@ -81,6 +81,14 @@ You may forcefully reset the pool using the `:kill` strategy:
`at-at` keeps an eye on all the tasks you've scheduled. You can get a set of the current jobs (both scheduled and recurring) using `scheduled-jobs` and you can pretty-print a list of these job using `show-schedule`. The ids shown in the output of `show-schedule` are also accepted in `kill` and `stop`, provided you also specify the associated pool. See the `kill` and `stop` docstrings for more information.
+ (def tp (mk-pool))
+ (after 10000 #(println "hello") tp :desc "Hello printer")
+ (every 5000 #(println "I am still alive!") tp :desc "Alive task")
+ (show-schedule tp)
+ [6][RECUR] created: Thu 12:03:35s, period: 5000ms, desc: "Alive task
+ [5][SCHED] created: Thu 12:03:32s, starts at: Thu 12:03:42s, desc: "Hello printer
### Install
Fetch at-at from github: or pull from clojars: `[overtone/at-at "X.Y.Z"]`
@@ -1,3 +1,3 @@
-(defproject overtone/at-at "1.0.0-SNAPSHOT"
+(defproject overtone/at-at "1.0.0"
:description "Ahead-of-time function scheduler"
:dependencies [[clojure "1.3.0"]])

0 comments on commit d6f4de0

Please sign in to comment.