(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
(running?)
returns true if the runner is running
returns true if the runner is running
(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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close