Questions tagged [quartz]

512 questions
4
votes
3 answers

Quartz add trigger for already existing job

I am using quartz framework to add and schedule jobs and triggers. The requirement is to add triggers dynamically for the already existing job in the database. While I am trying to achieve this with below code, I am getting…
Tanu Garg
  • 3,007
  • 4
  • 21
  • 29
4
votes
1 answer

Cron expression to run only on Monday

I am using quartz expressions to create a trigger that should execute only on Mondays and the day of month should not be 1. I already know that 0 5 0 2-31 * MON expression doesn't work because Specifying both a day-of-week and a day-of-month…
Suman
  • 143
  • 1
  • 11
4
votes
0 answers

quartz.net setting trigger_state to ERROR, can't figure out why

I have Quartz persisting to SQL server. I have not had this in my test environment, but now I moved to production and it is happening. Now the job runs once and results in the trigger being set to ERROR. I don't see any reason why. My job looks…
bschulz
  • 191
  • 2
  • 12
4
votes
1 answer

How do I specify a quartz property file outside of the classpath in gradle?

I'm attempting to specify my quartz properties file in gradle. From a 'config' directory rather than from resources. String quartzProperties = System.properties['org.quartz.properties'] ?:…
Interlated
  • 5,108
  • 6
  • 48
  • 79
4
votes
2 answers

How to list all windows from all workspaces in Python on Mac?

The following Python 2 code prints list of all windows in the current workspace: #!/usr/bin/python import Quartz for window in Quartz.CGWindowListCopyWindowInfo(Quartz.kCGWindowListOptionOnScreenOnly, Quartz.kCGNullWindowID): print("%s - %s" %…
kenorb
  • 155,785
  • 88
  • 678
  • 743
4
votes
1 answer

Quartz trigger disappears from database

I have quartz schedule that randomly deleted from our database. The schedule is expected to run twice a day but one day it did not run and the trigger was deleted in the database. I've tried researching on what could cause this. One possible cause…
aeycee
  • 167
  • 2
  • 2
  • 14
4
votes
2 answers

"No such file: 'requirements.txt' error" while installing Quartz module

When I try to install Quartz on my system using pip install Quartz, I face with the following error. I use Mac OSX with Anaconda. Any help is appreciated. Complete output from command python setup.py egg_info: Traceback (most recent call last): …
Hossein
  • 2,041
  • 1
  • 16
  • 29
3
votes
1 answer

How to start a quartz cluster using default spring.datasource?

I am trying to follow the manual on https://docs.spring.io/spring-boot/docs/2.0.x/reference/html/boot-features-quartz.html and https://docs.spring.io/spring-boot/docs/current/reference/html/io.html#io.quartz By default, an in-memory JobStore is…
gabriel
  • 147
  • 1
  • 9
3
votes
1 answer

spring-boot-starter-quartz implements job vs extends QuartzJobBean

I'm using Quartz Scheduler in one of my projects. There are two main ways to create a Quartz job: implement org.quartz.Job class extend org.springframework.scheduling.quartz.QuartzJobBean (which implements org.quartz.Job class) The last part of…
soung
  • 1,411
  • 16
  • 33
3
votes
1 answer

Spring boot + Qurartz + Oracle problem with JobStoreTX

I´m creating an application with Spring boot + Quartz + Oracle and i would like to save the scheduling in the database (persistent, in case the server crashes). With RAMJobStore works fine, but when I try to use JobStoreTX it doesn't work, it always…
FireStarter
  • 43
  • 2
  • 7
3
votes
1 answer

Different schedule for Weekdays and weekends

In Quartz or Cron is there a way to write a single expression to have different schedules for weekdays and weekends ? So say 12 noon during weekdays and 8 AM during weekends.
Aml
  • 33
  • 2
3
votes
0 answers

Is there any way to use Quartz persistence with r2dbc?

I want to integrate my spring boot project with Quartz API. Everything works fine when quartz store job data in RAM Job Store, but the problem appears when I am trying to store job data in database. The reason it doesn't work is that I am using…
3
votes
0 answers

Caused by: org.postgresql.util.PSQLException: Bad value for type long : \x

I am using Quartz API 2.3.0 with Spring boot Parent 2.0.5 and postgresql version 9.2-1002-jdbc4. I get below error when the application retrieves data from qrtz_job_triggers table. org.springframework.context.ApplicationContextException: Failed to…
vkg
  • 351
  • 4
  • 10
3
votes
1 answer

NextExecution time with quartz definition fails when date if the end of the month

Currently, I have a cron job scheduling for every minute but once the date is the end of the month, the nextExecution method fails to provide the proper date. test("check execution times") { // make sure the execution times are correct val…
3
votes
0 answers

Is it possible to control instances count for a concurrent quarz job

I have a quartz job with static concurrent = true and see that it might be N instances at the same time (for me N=11) The question here is it possible to limit concurrent instances exactly for this job (not for all by using…
Eugene Hoza
  • 621
  • 1
  • 6
  • 19
1
2
3
33 34