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
1
vote
1 answer

Spring Quartz reschedule job execute twice at the first time

I use Quartz1.5.2 and Spring3.2.1 to do scheduler task, in my application,I need to reschedule the task at sometime,but I found that each time when the task is rescheduled,it will execute twice at the first time. Below is my quartz+spring…
flyingfox
  • 13,414
  • 3
  • 24
  • 39
1
vote
1 answer

Quatz.Net GetNextFireTime() returning the "wrong timezone"

I am currently working on a project in which I am using the Quartz Scheduler. I've been working on a feature that displays different details about jobs that are currently active, using the following method. public IEnumerable
Carsten
  • 133
  • 4
  • 12
1
vote
2 answers

Spring Scheduler Cron Job

I have two requirements. Trigger job on every monday Trigger job on first monday of each month For the first requirement, I tried @Scheduled(cron = "0 0 12 ? * MON") and @Scheduled(cron = "0 0 12 ? * 2"). Neither of them are working. The…
Pharthi
  • 11
  • 1
  • 4
1
vote
2 answers

How to repeat a cronExpression in a specific period of time?

greetings all I have a cronExpression that I want it to be started on application startup and repeated every second, I am defining cronExpression via xml configuration as follows:
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
1
vote
1 answer

Quartz/MYSQL A ResourcePool could not acquire a resource from its primary factory or source

While trying to integrate Quartz scheduler into a spring application I'm trying to add persistence using org.quartz.impl.jdbcjobstore.JobStoreTX with the data store on mysql . org.quartz.jobStore.class =…
Itachi
  • 61
  • 1
  • 10
1
vote
3 answers

Quartz Integration with Spring

I have a web application and I am trying to start Quartz scheduler programmatically in spring. I have a service class where I create an instance of SchedulerFactory and then get a scheduler. The code is as…
Thanos
  • 623
  • 3
  • 11
  • 22
1
vote
1 answer

Prevent two or more jobs get executed at the same time in Quartz Scheduler

Just as title, I have several jobs that set trigger time at the same time but I don't want them to be executed all at once. Because I afraid that it may cause overheat problem to my system. Is there any way we can config a trigger so that its…
Long Vu
  • 131
  • 1
  • 5
1
vote
0 answers

Timeout connection quartz job

I have lot of simple jobs run in background of my application on specific time. I am getting below exception: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 86,399,991 milliseconds…
Shekhar S
  • 11
  • 4
1
vote
1 answer

How do I make Quartz.NET run jobs from separate assembly?

I am new to Quartz.NET so bear with me please. I would like to run Quartz.NET as a stand-alone service which runs jobs. I would like to create a different assembly containing all the jobs I need to run and have Quartz configured to run these jobs…
Yossi
  • 539
  • 9
  • 20
1
vote
0 answers

Create a schedule programmatically

I am using akka-quartz-scheduler to schedule jobs that trigger Akka actors. Example code: ActorSystem system = ActorSystem.create("ActorSystem", config); QuartzSchedulerExtensionscheduler = (QuartzSchedulerExtension)…
sri
  • 33
  • 1
  • 4
1
vote
0 answers

Using Quartz for long running job

I'm planning to use Quartz scheduler to process a one-time job. My use case is, I need to migrate BLOB from one storage to another and blob's can be as big as 100GB, so a particular job can run really long enough to get the work done. The reason…
User5817351
  • 989
  • 2
  • 16
  • 36
1
vote
0 answers

Reassign Quartz jobs on server failure

I have configure Quartz JDBCJobStore to run some schedulers on a clustered app and while testing what would happen if one of the servers goes down in the middle of a job processing I found that Quartz does not have a mechanism for the other…
David Florez
  • 1,460
  • 2
  • 13
  • 26
1
vote
2 answers

Quartz.net Cron schedule that fires the first Saturday of every month

I'm using Quartz.net 3.0. How do I create a Cron schedule that fires the first Saturday of every month at 1 am?
Phil O
  • 1,588
  • 4
  • 28
  • 52
1
vote
2 answers

Generate cron expression for weekly and repeat every n weeks

I am trying to create weekly cron expression which will execute every week on selected days like Mon,Tue. Along with this I have to implement repeat every functionality with it. So that trigger would be fired after repeat every interval. eg. I have…
Roshan
  • 873
  • 12
  • 33
1
vote
1 answer

GetFireTimeAfter method of ITrigger returning a date which is part of HolidayCalender

For existing daily schedule on which I am adding holiday calendar for particular dates for which trigger should not be fired, Below code is for adding calendar to schedule, ISchedulerFactory sf = new StdSchedulerFactory(config); Instance =…
Roshan
  • 873
  • 12
  • 33
1 2 3
99
100