Liking cljdoc? Tell your friends :D

cl-cronlike.core


*runner*clj

source

*taskdb*clj

source

integermapclj

source

run-function-with-cronclj

(run-function-with-cron schedulestring functorun)

Adds a task to the queue using a cron-style string and a function name

Adds a task to the queue using a cron-style string and a function name
sourceraw docstring

running?clj

(running?)

returns true if the runner is running

returns true if the runner is running
sourceraw docstring

schedule-from-stringclj

(schedule-from-string schedulestring)

Takes a string formatted in crontab style and returns a Schedule object. Format is: minutes hours day-of-month month day-of-week. Example: 0,15,30,45 12,13,14 * * 2,4,6 That format means run every 15 minutes between 12:00 and 15:00 on Monday, Wednesday and Friday NOTE: each set of comma-seperated values MUST NOT have spaces

Takes a string formatted in crontab style and returns a Schedule object.
Format is:  minutes hours day-of-month month day-of-week.
Example:  0,15,30,45 12,13,14 * * 2,4,6
          That format means run every 15 minutes between 12:00 and 15:00 on Monday, Wednesday and Friday
NOTE: each set of comma-seperated values MUST NOT have spaces
sourceraw docstring

start-runnerclj

(start-runner)

Starts a background thread, running every minute and checking the list of functions

Starts a background thread, running every minute and checking the list of functions
sourceraw docstring

stop-runnerclj

(stop-runner)

Stops the loop

Stops the loop
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close