Questions tagged [quartz]

512 questions
0
votes
1 answer

Quartz.net Scheduler is working on local while debugging but not on production

I have used Quartz.net for scheduling some task. The problem is that it's working only while debugging in the local. The code is not working on my local server and production as well. Please don't mark it as duplicate because none of the solution…
Jayakrishnan
  • 4,232
  • 2
  • 23
  • 35
0
votes
2 answers

cron expression every 2 days not making sense for monday

i have a cron expression- 0 0 12 */2 * ? If start date is monday and time is 11:40 am, the next trigger date i'm expecting is monday 12:00, followed by wednesday, friday,etc. But when i give this expression, the first trigger is set to tuesday…
sharat
  • 160
  • 3
  • 10
0
votes
1 answer

Quartz net - Not working as expected

I have used the Quartz net expression for the following scenario that Schedule should run every 40 seconds. I have added the expression like following. 0/40 * * * * ? I expected this to run on every 40 seconds. Instead of that, it runs like, for…
Jeeva J
  • 3,173
  • 10
  • 38
  • 85
0
votes
2 answers

Quartz 2.x, How to get Trigger Type?

I am using quartz 2.x version. I need get column TRIGGER_TYPE from QRTZ_TRIGGERS tables. using API, how to get TRIGGER_TYPE? This is my code: for (String group : scheduler.getTriggerGroupNames()) { for (TriggerKey triggerKey :…
zeronine09
  • 23
  • 5
0
votes
1 answer

quartz and spring upgrade is having issues around abstract class/bean

One of our apps is upgrading Spring from 2.5.6 to 4.2.5 and quartz 1.6.5 to 2.2.2. I have been working to resolve issues one by one but i'm down to this one that I can't seem to work out. The error is: 2017-04-03 14:52:47,570 INFO {main}…
russell1997
  • 103
  • 3
  • 11
0
votes
0 answers

Autowiring with quartz throws nullpointerexception

I'm using spring 4.1.2 with quartz 2.2.3 and the business in the code below throws nullpointerexception. interfacePedidoBusiness is always coming null. Although sounds to have many solutions, neither of them was useful for me. Could you please give…
Marcel
  • 421
  • 2
  • 8
  • 18
0
votes
3 answers

How to run Quarz Cron Job between specific time?

I want to execute cron job between specific time. i.e. Cron job should execute every 15 minutes between 7:03 to 21:04? I can manage between 7 to 9 but can't schedule between 7:03 to 9:05.
Piyush Ghediya
  • 1,754
  • 1
  • 14
  • 17
0
votes
1 answer

Quartz.net durable and clustered

The config:
Sky Chen
  • 13
  • 5
0
votes
1 answer

got nullPointerException when use quartz in clustered system,but when remove the database config ,it works fine

this is my quartz config: @Bean public SchedulerFactoryBean startQuartz(DataSource dataSource, PlatformTransactionManager annotationDrivenTransactionManager, CronTriggerFactoryBean remoteProjectTrigger,…
paul
  • 65
  • 10
0
votes
2 answers

How to change quartz job scheduled time manually using sql?

I am using Quartz job scheduler for running some jobs. Using java api I am managing the job. When I reschedule a job to different time using java, scheduler.deleteJob(jobName, jobGroupName); addJobsInScheduler(jobName, jobGroupName,…
Vino
  • 2,807
  • 1
  • 26
  • 22
0
votes
0 answers

Can an Oracle DB provide an accessing tomcat server's ID when load balancing

OK, here is the setup: I am using Quartz in my Java application. The Java application is duplicated for load balancing. These duplicates accesses an Oracle DB. One quartz job will fire simultaneously on all duplicates, but I only want it to run on…
brightmatter
  • 162
  • 1
  • 10
0
votes
1 answer

Can you run two different Quartz job instances sequentially?

Hi i have a Job 1 triggered to fire very minute and a job 2 triggered to fire every 5 min. So a at every five minutes the wo jobs will run at the same time, i want to avoid this and force the second job to fire to wait for the other one to finish…
user2133558
  • 524
  • 2
  • 10
  • 29
0
votes
0 answers

Quartz started to throw java:comp/websphere/ExtendedJTATransaction after upgrading hibernate3 to hibernate4

my Quartz batchjob application is throwing the below error: org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/websphere/ExtendedJTATransaction below is my configuration:
Ricky
  • 1
  • 3
0
votes
0 answers

How the data is saved in the Quartz Database

I am new to Spring Quartz and I wanted to know :- How the data is saved in the database? How to retrieve the Values from the database? Can we create our own databases? How to delete the Job and triggers? If possible please attach the document to…
AnilCk
  • 106
  • 3
  • 12
0
votes
1 answer

quartz job to call a servlet of another application

I need to create a quartz job in my grails application which should call a servlet of another application. And in the servlet doGet() method i need to receive the message that is passed and do the process and once it is over need to send a response…
user7439379