Questions tagged [quartz-scheduler]

Quartz Scheduler is a Java-based open-source job scheduling service. NOTE: this tag is about the Java framework. For .NET questions please use [quartz.net] instead. For Clojure questions please use [quartzite] unless you're directly interoping with the Java library.

Quartz Scheduler is a Java-based open-source job scheduling library.

You can find out more at http://quartz-scheduler.org/.

See also

3792 questions
34
votes
5 answers

How to use @Autowired in a Quartz Job?

i am using quartz with spring and i want to inject/use another class in the job class and i don't know how to do it correctly the xml:
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
32
votes
2 answers

Quartz's CronTrigger for every two hours

I want to schedule a component with Quartz's CronTrigger for every two hours. What is the correct cron expression to achieve this?
vk007
  • 361
  • 1
  • 3
  • 8
32
votes
4 answers

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and must be fired after restarting. Jobs must enter…
flybywire
  • 261,858
  • 191
  • 397
  • 503
30
votes
2 answers

Migrating from Spring 3 to Spring 4 - org.springframework.scheduling.quartz.CronTriggerBean

I'm trying to migrate from spring 3.0.5 to spring 4.1.X . Spring 3 has Class named as "org.springframework.scheduling.quartz.CronTriggerBean" But Spring 4 doesn't include this class name. [5/28/15 20:10:16:798 EDT] 00000092 ClassPathXmlA W …
Sireesh Yarlagadda
  • 12,978
  • 3
  • 74
  • 76
30
votes
6 answers

How to pass instance variables into Quartz job?

I wonder how to pass an instance variable externally in Quartz? Below is pseudo code I would like to write. How can I pass externalInstance into this Job? public class SimpleJob implements Job { @Override public void…
janetsmith
  • 8,562
  • 11
  • 58
  • 76
29
votes
1 answer

Using Quartz to Schedule Single Job Across Multiple Stateless App Servers

I have a layer of identical app servers behind a load balancer. For operational reasons I have the constraint that the application configuration on both app servers must be identical so that nodes can easily be added and removed. All app servers…
Scruffers
  • 4,984
  • 8
  • 35
  • 41
29
votes
4 answers

Cron expression for particular date

I want a cron expression that represents 6th September 2010 6:00 am
NewBeee_Java
28
votes
6 answers

Quartz Scheduler suddenly stop running and no exception error

I have some quartz job which was running everyday at 7pm. Suddenly it failed to run. I check my server.log and there are no exception thrown. Anyone have any idea what could be the issue? Thanks in advance
Maven Lee
28
votes
4 answers

Quartz retry when failure

Let's say I have a trigger configured this way: