(add-job scheduler job-detail)
(add-job scheduler job-detail replace)
Adds given job to the scheduler with no associated trigger
Adds given job to the scheduler with no associated trigger
(add-scheduler-listener scheduler listener)
Registers a schedule listener. Use it to hook into Quartz scheduler events
Registers a schedule listener. Use it to hook into Quartz scheduler events
(add-trigger scheduler trigger)
Adds given trigger to the scheduled job with which the trigger has been associated
Adds given trigger to the scheduled job with which the trigger has been associated
(all-scheduled? scheduler & keys)
Returns true if all provided keys (trigger or job) are scheduled
Returns true if all provided keys (trigger or job) are scheduled
(clear! scheduler)
Resets the scheduler by clearing all triggers and jobs from it
Resets the scheduler by clearing all triggers and jobs from it
(currently-executing-job? scheduler key)
Returns true if there is currently executing job for the given key
Returns true if there is currently executing job for the given key
(delete-job scheduler key)
Deletes the identified job and all triggers associated with it from the scheduler
Deletes the identified job and all triggers associated with it from the scheduler
(delete-jobs scheduler keys)
Remove all of the indicated jobs (and associated triggers) from the scheduler. Bulk equivalent of delete-job
Remove all of the indicated jobs (and associated triggers) from the scheduler. Bulk equivalent of delete-job
(delete-trigger scheduler key)
Removes the indicated trigger from the scheduler. If the related job does not have any other triggers, and the job is not durable, then the job will also be deleted
Removes the indicated trigger from the scheduler. If the related job does not have any other triggers, and the job is not durable, then the job will also be deleted
(delete-triggers scheduler keys)
Remove all of the indicated triggers from the scheduler
Remove all of the indicated triggers from the scheduler
(get-currently-executing-jobs scheduler key)
Returns a set of JobExecutionContext that represent the currently executing jobs for a given key
Returns a set of JobExecutionContext that represent the currently executing jobs for a given key
(get-job scheduler key)
(get-job scheduler group key)
Returns a JobDetail instance for the given key.
Returns a JobDetail instance for the given key.
(get-job-group-names scheduler)
Get the names of all known JobDetail groups.
Get the names of all known JobDetail groups.
(get-job-keys scheduler gm)
Returns a set of keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
Returns a set of keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
(get-jobs scheduler keys)
Returns a set of JobDetail instances for the given collection of keys.
Returns a set of JobDetail instances for the given collection of keys.
(get-matching-jobs scheduler gm)
Returns a set of JobDetail instances with keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
Returns a set of JobDetail instances with keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
(get-matching-triggers scheduler gm)
Returns a set of Trigger instances with keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
Returns a set of Trigger instances with keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
(get-trigger scheduler key)
(get-trigger scheduler group key)
Returns a Trigger instance for the given key.
Returns a Trigger instance for the given key.
(get-trigger-group-names scheduler)
Get the names of all known Trigger groups.
Get the names of all known Trigger groups.
(get-trigger-keys scheduler gm)
Returns a set of keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
Returns a set of keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
(get-triggers scheduler keys)
Returns a set of Trigger instances for the given collection of keys.
Returns a set of Trigger instances for the given collection of keys.
(get-triggers-of-job scheduler key)
Returns a set of Trigger instances for the given collection of keys.
Returns a set of Trigger instances for the given collection of keys.
(maybe-schedule scheduler job-detail trigger)
Adds given job to the scheduler and associates it with given trigger but only if they are not already known to the scheduler.
Like schedule but avoids org.quartz.ObjectAlreadyExistsException by checking if keys of provided job and trigger are already scheduled and do not need to be scheduled again
Adds given job to the scheduler and associates it with given trigger but only if they are not already known to the scheduler. Like schedule but avoids org.quartz.ObjectAlreadyExistsException by checking if keys of provided job and trigger are already scheduled and do not need to be scheduled again
(pause-all! scheduler)
Pauses all triggers and jobs
Pauses all triggers and jobs
(pause-job scheduler key)
Pauses a job with the given key
Pauses a job with the given key
(pause-jobs scheduler matcher)
Pauses a group of jobs
Pauses a group of jobs
(pause-trigger scheduler key)
Pauses a trigger with the given key
Pauses a trigger with the given key
(pause-triggers scheduler matcher)
Pauses a group of triggers
Pauses a group of triggers
(resume-all! scheduler)
Resumes all paused triggers and jobs
Resumes all paused triggers and jobs
(resume-job scheduler key)
Resumes a job with the given key
Resumes a job with the given key
(resume-jobs scheduler matcher)
Resumes a group of jobs
Resumes a group of jobs
(resume-trigger scheduler key)
Resumes a trigger with the given key
Resumes a trigger with the given key
(resume-triggers scheduler matcher)
Resumes a group of triggers
Resumes a group of triggers
(schedule scheduler job-detail trigger)
Adds given job to the scheduler and associates it with given trigger. Trigger controls job execution schedule, initial execution time and other characteristics
Adds given job to the scheduler and associates it with given trigger. Trigger controls job execution schedule, initial execution time and other characteristics
(scheduled? scheduler key)
Checks if entity with given key already exists within the scheduler
Checks if entity with given key already exists within the scheduler
(shutdown scheduler)
(shutdown scheduler wait-for-jobs-to-complete)
Shuts scheduler down, releasing all the resources associated with it. When passed true causes scheduler to wait for running jobs to complete before shutting down
Shuts scheduler down, releasing all the resources associated with it. When passed true causes scheduler to wait for running jobs to complete before shutting down
(shutdown? scheduler)
Returns true if the scheduler has been shut down, false otherwise
Returns true if the scheduler has been shut down, false otherwise
(standby scheduler)
Puts scheduler in standby mode. When in scheduler is standby mode, no triggers will fire
Puts scheduler in standby mode. When in scheduler is standby mode, no triggers will fire
(standby? scheduler)
Returns true if the scheduler is in standby mode, false otherwise
Returns true if the scheduler is in standby mode, false otherwise
(start scheduler)
Starts Quartzite's scheduler. Newly initialized scheduler is not active (in standby mode), this function starts it
Starts Quartzite's scheduler. Newly initialized scheduler is not active (in standby mode), this function starts it
(start-delayed scheduler seconds)
Starts Quartzite's scheduler after a delay in seconds
Starts Quartzite's scheduler after a delay in seconds
(started? scheduler)
Returns true if the scheduler has been ever started, false otherwise
Returns true if the scheduler has been ever started, false otherwise
(trigger scheduler jk)
Returns trigger for given key
Returns trigger for given key
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close