immutant.jobs

Associate recurring jobs with an application using cron-like specifications

internal-scheduler

function
Usage: (internal-scheduler & {:keys [singleton], :or {singleton true}})
Returns the internal Quartz scheduler for use with other libs, e.g. Quartzite
Source

schedule

function
Usage: (schedule name spec f & {singleton :singleton, :or {singleton true}})
Schedules a job to execute based on the spec.
Calling this function with the same name as a previously scheduled job will replace that job.
Source

unschedule

function
Usage: (unschedule name)
Removes the named job from the scheduler
Source

immutant.jobs.internal





create-job

function
Usage: (create-job f name spec singleton)
Instantiates and starts a job
Source

create-scheduler

function
Usage: (create-scheduler singleton)
Creates a scheduler for the current application.
A singleton scheduler will participate in a cluster, and will only execute its jobs on one node.
Source

quartz-scheduler

function
Usage: (quartz-scheduler singleton)
Returns the internal quartz scheduler
Source

scheduler

function
Usage: (scheduler singleton)
Retrieves the appropriate scheduler, creating it if necessary
Source

stop-job

function
Usage: (stop-job job)
Stops (unschedules) a job, removing it from the scheduler.
Source
Based on a site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.