Questions tagged [quartz]

512 questions
0
votes
1 answer

scheduling jobs to clustered quartz1.8.6 from non-cluster configured quartz scheduler instance

I'm using quartz 1.8.6 in clustered mode with 4 instances. Now, I observed high contention on table QRTZ_LOCKS. My application also provide webservices for online clients. This webservices also do scheduling of new jobs. Now, I see timeout…
0
votes
1 answer

Java Quartz + Spring WEB can't load DataSource

i'm facing a problem when i run my apps in localhost. my application is tomcat based application which build with spring web MVC and use @Autowired DataSource as connection path to Database. besides that i have a apps feature to work with Java…
0
votes
1 answer

How can I find out the root element of all active windows on the os x

I have a some trouble. Сan anyone tell briefly about the hierarchy of windows in os x . And if it possible about ways to interact directly with the help of objective c and some frameworks. P.S. I need to know characteristics of root element of all…
0
votes
1 answer

Nested scheduling support in Quartz

I have a business requirement that requires the following scheduling pattern ----t1--------ta-------tb---------t2 Between t1 and t2, give 10% discount on product A However, for nested time window ta - tb, give discount of 20%. When tb is reached, go…
0
votes
1 answer

Quartz scheduler instance is null

I developed an application using vaadin and quartz scheduler. I have this code : final ServletContext servletContext = VaadinServlet.getCurrent().getServletContext(); StdSchedulerFactory stdSchedulerFactory = (StdSchedulerFactory) servletContext …
Aniss
  • 39
  • 1
  • 1
  • 8
0
votes
1 answer

quartz.net simple example as per the time given

I am new to quartz.net. I want to build a simple window based application which scheduled the task. Suppose I have 4 task ans it start and end time Example Breakfast ; 8:00;8:30 Lunch;13:00;13:30 dinner;19:30;20:00 Now I want when I click on button…
Pritesh Chhunchha
  • 179
  • 1
  • 2
  • 15
0
votes
1 answer

How to specify a Cron job for the following described Scenario?

Using Java & Quartz, is there a way to specify a Cron job (using a cron expression OR not) for the following scenario; (Parent-Event) ==> Start at & execute once every 5 days{ (Child-Event) ==> Start at & execute…
SourceVisor
  • 1,868
  • 1
  • 27
  • 43
0
votes
1 answer

quartz cronExpression config issue

I am using spring + quartz for schedule a job which need run every 22 mins.and configured as below. but the job start the hour point(Sharp) too. (running time like : 12:00, 12:22, 12:44, 13:00(why?), 13:22,13:44. even configured to 0 */22 * * * ? or…
Paul
  • 1
  • 3
0
votes
2 answers

java.lang.NullPointerException for static button in JavaFX with static reference

Okay so I have a bit a conundrum. I have a Qaurtz Cron that I want to use to schedule and run some Java Tests. These task are scheduled through a gui that Uses JavaFX. However, the job itself calls a run tests method. The job forces me to make…
Jrawr
  • 199
  • 2
  • 3
  • 15
0
votes
0 answers

Quartz 2.2.3 TimeZone issue

I want to schedule the cron job according to the specified time zone. It will fire fine for first time but next time it will not firing according to the specified time zone rather it is firing according to the system's time. Trigger trigger =…
Gokul
  • 931
  • 7
  • 16
0
votes
1 answer

Scheduling of Java Opc-UaClient Eclipse Milo not working

I am facing a strange issue while working with OPC UA client in EJB. I need to create background service which will communicate with OPC Server after an interval. I am using Quartz API for scheduling in EJB. Scheduling is working properly but when I…
0
votes
2 answers

Java Quartz Spring transaction support

I need to write a database logic in Quartz job detail bean. Can I do that without any explicit declarations, or how to do that properly to be sure it runs in transaction?
avalon
  • 2,231
  • 3
  • 24
  • 49
0
votes
1 answer

Using Quartz2 and Bean CDI

I need to create a method that executes automatically whenever Tomcat starts. I followed a tutorial and could implement a method that implements org.quartz.Job, so it's working, but the problem is that it does not let me to inject a bean CDI in the…
Jhonatan Souza
  • 175
  • 1
  • 3
  • 13
-1
votes
1 answer

Scheduler Spring, Clustered Environment, Not Quartz

I have a database with multiple rows having a date time column, i want to create a scheduler that runs every 5 minutes and reads the records from that table on the date time column and picks all records which have date lesser than current time, and…
Mano
  • 1
  • 1
-1
votes
0 answers

how to fix my problem in reschedule quartz job in .net

I have a job and I want to change that interval dynamically with a special formula. I rescheduled it but it doesn't work correctly. I create the job in a hosted service, like this : var gap = handler.GetRestTime(); var jobDataMap = new…
1 2 3
33
34