Questions tagged [quartz]

512 questions
2
votes
1 answer

Where can I find database scripts for the version 2.3.0 version? Unable to find it under the 2.3.0 kit

I am new to quartz. I am unable to find the database scripts under docs folder in quartz-2.3.0-distribution.tar.gz . There are only images under docs folder. But it is available under docs folder in quartz-2.2.3-distribution.tar.gz version. …
Anusha HV
  • 131
  • 11
2
votes
1 answer

How do I persist jobs to a H2 database from a Spring project

How do I persist Quartz jobs to a H2 file database from a Spring project? I have a Spring app that schedules jobs using Quartz. It works, but I lose all the jobs when the app shuts down. I would like to persist these jobs to a H2 database (in a…
Mark Truran
  • 31
  • 1
  • 3
2
votes
0 answers

How to handle job recovering in Quartz.Net

I use Quartz 3.0.7 in my application that use .NET Core 2.2 platform. I use ms sql server for Quartz action tracking. Quartz tracks and stores its actions in database and it's fine. Configuration of my StdSchedulerFactory: …
2
votes
1 answer

Quartz Job Annotation @DisallowConcurrentExecution Implementation

I'm new to quartz. I found out about @DisallowConcurrentExecution annotation provided by quartz library and the doc says: 'An annotation that marks a {@link Job} class as one that must not have multiple instances executed concurrently (where…
2
votes
1 answer

Execute a Quartz Job only once in a multi-instance environment

I'm trying to create a Job in Quartz 1.6, but with the necessity to execute only once, because I have two test instances with the same version of a .war file. This is my TestPlugin class, the Job will be executed every 60 seconds: public class…
TimeToCode
  • 901
  • 2
  • 16
  • 34
2
votes
1 answer

quartz - fixed interval with initial delay

On spring scheduler, this is what I wanted to achieved: @Scheduled(initialDelay = 1000, fixedDelay = 5000) I'm moving to quartz, and I cannot seem to find the equivalent API for the initial delay. …
lorraine batol
  • 6,001
  • 16
  • 55
  • 114
2
votes
2 answers

How can I use JDBC jobstore in Quartz Scheduler

I am trying to configure JDBC jobstore for my Quartz Scheduler application. I have created tables and provided configuration in application.proprties. But the default RAM jobstore is getting initialized. How should I configure quartz scheduler to…
2
votes
1 answer

Quartz job not starting

I'm trying to use Abp.Quartz for scheduling jobs. Working with net core 2.2, abp 4.5 I did everything like in docs here https://aspnetboilerplate.com/Pages/Documents/Quartz-Integration , only resolved it in PostInitialize method. At the end I tried…
2
votes
2 answers

What is the relation between Spring-boot's support for quartz and @EnableScheduling/@Scheduled Annotation

Is there any relation between the functionality provided by @EnableScheduling in Spring and the default autoconfiguration for Quartz in Spring-Boot? I mean, are the methods annotated with @Scheduled supposed to interact with Quartz in any way, or…
Mateusz Stefek
  • 3,478
  • 2
  • 23
  • 28
2
votes
1 answer

Failed to obtain DB connection from data source

I'm creating a in memory quartz scheduler in Spring Boot, but getting a connection error. I have a connected database 'oracle'. once i run I get following error. Can anybody help ERROR [http-nio-80-exec-1] org.apache.juli.logging.DirectJDKLog:…
2
votes
0 answers

Quartz scheduler with 1 thread is not scheduling continuously

I am using Quartz 2.2.3 in a springboot application. Every 10 minutes I need to fetch data from a file. So Scheduling the job for every 10 mins, using the below configuration in…
Shobana
  • 41
  • 4
2
votes
1 answer

Schedule job using non Gregorian calendar cron expression

Is there a way to schedule cron jobs using the Islamic Calendar? Ideally: CronExpression cronExpression = new CronExpression("0 0 0 1 * ? *", CalendarEnum.ISLAMIC); I'm struggling to find the smallest clue on Java Quartz documentation (1 mention on…
LovaBill
  • 5,107
  • 1
  • 24
  • 32
2
votes
0 answers

ClassCast Exception although class,package and classloaders are same while using Quartz Scheduler

So, I faced this issue which I wasn't even aware that could happen. So far my understanding is JVM identifies class with a combination of class-name,package-name and the classloader name. I have verified that all of these 3 are matching and still I…
Sudip Bhandari
  • 2,165
  • 1
  • 27
  • 26
2
votes
0 answers

How QUARTZ JDBC JobStore selects next job from Database

I read some documentation about quartz jdbcjobstore but couldn't find what I'm looking for. Lets assume we have 50 jobs that are waiting on the database and 10 threads in our application. My question is, which jobs will be selected from the database…
Alperen Üretmen
  • 307
  • 1
  • 13
2
votes
1 answer

Move data between PDFDocument and CGPDFContext?

I want to move data between PDFKit's PDFDocument and Core Graphics's CGPDFContext, but I can't see how to do it. I'm using python, but any code that shows what methods and objects to use would be welcome. Using CGPDFDocument would be easy, but there…
benwiggy
  • 1,440
  • 17
  • 35