quartz-scheduler

Alternatives to Quartz for job scheduling

Has anyone found any alternative open-source solutions to Quartz which they are happy with? I know Cronacle is a well respected (and pricey) closed source solution for job scheduling but I'd like to make sure we exhaust the open-source alternatives before going down that route. ...

How often does the Quartz Scheduler wakes up?

Hi, I'm using Quartz Scheduling, more specifically a cron trigger set to wake up at 10PM every day of the week. Another group I interface with are asking how many times during the day will the scheduler wake up to check if it needs to run jobs. The 10PM job is the only one configured. I assume that it will only wake up at that time....

How to call a CronTriggerBean stored in a JDBCJobStore?

Hi, I need some help. I am using Quartz Scheduling and have configured a CronTrigger to run each night at 10PM. I am using the JDBCJobStore to take advantage of the Clustering. The job runs at 10PM every night but I want to be able to call the job programmatically to run it on the fly if needed but I still want to take advantage o...

Can I inject new jobs into the Quartz JDBCJobStore without clustering enabled?

I have several web-servers and need them to use Quartz. The clustering feature of Quartz would be ideal, but it requires that the servers clocks are in complete sync. They have a very scary warning about this: Never run clustering on separate machines, unless their clocks are synchronized using some form of time-sync service (daemon)...

Using LINQ to query/subquery multiple methods (Quartz.NET example for groups, jobs, and triggers)

Hello all, Definitely a LINQ newbie, but very experienced with SQL and C# and wondering if this is possible in LINQ. If so, I could use it other places, but I figured this would be a good starting point (and help to simplify/clean up some code). This could be more generalized, but I figured this might be a good real-life example that co...

Fetch the "Last Ran At" time for a quartz job

Hello, Is there an API to determine the last execution time of a quartz job. Thanks, Sandhya ...

Java out of memory Exception

Hi, I am running a Java Web Application in Tomcat. The application uses Quartz framework to schedule the cron job at regular intervals. This cron job involves parsing a 4+ MB xml file, which I am doing using JDOM API. The xml file contains around 3600 nodes to be parsed and consequently data to be updated in DB which I am doing it sequ...

Using Quartz jobs with pre-created objects

I'm using Quartz(1.6.6) , and it's a great system , but one things really bugs me - I want to be able to use non - default constructor for my jobs. (Yes , I've tried the JobFactory , but I don't like this solution. See below) Meaning- Instead of : JobDetail jobDetails = new JobDetail(jobUniqueName, JOBS_GROUP, CrawlJob.class)...

Quartz API error.

When I compile and run my application on my local machine with specs Windows XP sp2, JDK 5u11, I get no error. But when I try to run this application (compiled on Windows XP) on a Linux Debian distro, JDK 5 I get the following error: Unable to instantiate class load helper class: null What can I do to get rid of this exception message...

Grails Quartz Job has no Hibernate session after upgrade, causing LazyInitializationException

I've upgraded a Grails 1.0.4 application to 1.1.1. After upgrading, I'm repeatedly getting Exceptions when executing my Quartz jobs (using Quartz plugin 0.4.1). The plugin is used to manually schedule jobs using Simple and Cron Triggers via a service (paraphrased code below): class SchedulerService implements InitializingBean { stat...

Trigger function when Undeploying application

How do I automatically trigger Java function to stop Quartz scheduler jobs when I deploy/undeploy/redeploy JEE5 application in Glassfish. ...

schedule jobs dynamically in quartz

I would like to create a generic job class which takes some arguments instead of creating job class before hand? All the settings are stored in a db so we could just call "refresh" which drops all the jobs and re-registers them from the database. ...

delete trigger in quartz

Is there a way to delete a scheduled trigger with a specific job? It seems that only way to delete a trigger is to delete the whole job and then re-register the job and trigger. I've a job which can potentially have 100+ triggers and I really don't want to delete the job and re-register all the triggers when I just have to delete 1 trig...

prevent quartz scheduler job to fire immediately

Is there a way to prevent jobs from executing when the it is first registered? I can potentially have 100+ triggers under 1 job and I don't want all the triggers to get executed when the application server is rebooted. We're storing the jobs/triggers in-memory and storing the info in our db. So when the app server is started, we regist...

Quartz .Net Job calling WCF service

Hi, What's the best way for me to call a WCF Service from within a Quartz .Net job? Is the easiest way to write a separate exe that spins up a WCF proxy and have that exe called from within the job? This seems like it would work but is a bit convoluted. It'd be nicer if I could somehow have the Job have the proxy injected in somewa...

Quartz Java resuming a job excecutes it many times.

For my application i create jobs and schedule them with CronTriggers. Each job has only one trigger and both the job name and the trigger names are the same. No jobs share a trigger. Now when i create a cron trigger like this "0/1 * * * * ?" which instructs the job to execute every second, it works just fine. The problem rises when i f...

can not run multiple jobs with quartz

Hi i m trying to run two jobs using batch framework. My problem is SimpleJobLauncher is running only one job which is last in the jobs list. Here what i am doing: I have two jobs in my database along with the steps for the jobs. I read the job data from database and process it as following public class BatchJobScheduler { private s...

Schedule setup string without using CRON string

Currently we are using cron strings for setting Quartz jobs in our project. But it seems to be either overkill or little confusing to set by a admin guy who is not a developer. So, we try to use a simple string like this, each 1 seconds on MonTueWedThuFri between 00:01 and 23:59 Is there any existing frameworks (or in Quartz) I will b...

Quartz.Net Thread Pools

I have quartz.net set up to run several scheduled jobs and several polling jobs. The polling jobs can consist of running code that can take 10 minutes. These jobs are queued from user actions (and so there could be a queue of x user actions). I have scheuled jobs that HAVE to run at that time. However, the threads could all be used up by...

Listing jobs that have already executed

Is there any record in Quartz of jobs that have already finished, or once they're gone are they really gone? ...