CrossClj

0.0.33-alpha docs

SourceDocs



RECENT

    aika

    Clojars

    May 25, 2014


    OWNER
    KIBU
    Melbourne, Australia
    info@kibu.com.au
    kibu.com.au

    Readme

    Index of all namespaces


    The README below is fetched from the published project artifact. Some relative links may be broken.

    aika

    "Equation-wise the first thing to do is to consider time as officially ended. 
     We work on the other side of time."
    

    — Sun Ra

    Usage

    Add to dependencies:

    [aika "0.0.3-alpha"]
    

    Example usage:

    (ns your.cool.project
      (:require [kibu.aika :refer [defjob start-job stop-job job-status]]))
    
    ;; define a job that prints 'Hfeflflfo' every minute
    (defjob hello-world 1 (println "Hfeflflfo"))
    
    ;; start the job!
    (start-job hello-world)
    
    ;; stop the job!
    (stop-job hello-world)
    
    ;; get the job status
    (job-status hello-world)
    

    TODO

    • Cron-tab style configuration

    License

    Copyright © 2014

    Distributed under the Eclipse Public License version 1.0