quartz-scheduler

Quartz.net beginner

A couple of questions for the real Quartz gurus out there! I am a Quartz.net beginner and hoping for some advice before I get burnt: 1) I schedule a bunch of jobs/triggers to go off at specific times in the future. After those tasks are finished I have no more use for the job/trigger information in the database. Is there anything I nee...

Quartz keeps putting its log on all my log files

Hi everyone. I have a problem. Quartz keeps putting its log on all my log files. Can I redirect Quart's log to a separate file? Here is my logback.xml: <configuration debug="false"> <appender name="hcmut.cse.virtuallab.request" class="ch.qos.logback.core.FileAppender"> <file>log/hcmut.cse.virtuallab.request.log</file> <encoder...

log4j Appender Being Closed by Caught Exception

Historical Context: This problem ended up being not at all what I thought it was. The cause and solution are below, but the original posting is left for reference. I'm developing a simple framework for periodically polling a directory for .properties files, then performing SQL queries and sending e-mails based on their configurations. B...

Job scheduling service library for flex (similar to quartz in java)

Hi everyone, I am searching for a flex library for job scheduling. I know the Timer API, but this is not exactly what I am searching for. Here is (one of) my usecase for my AIR application: Try to ping to website xyz every 15 minutes Every first monday of a month try connect to website abcdefg .. So I am searching for a library like...

What happens in Quartz.NET/Quartz when...

...when a job is still being executed when its next execution time occurs? For example, if I have a job that occurs every 30 seconds, and after the 30 seconds it is still operating, would the next instance come into play or would it wait? ...

Programatically delete jobs and associated triggers in Quartz.NET

Hi all, I need a way to allow administrators to delete a job in Quartz.NET. Are there any built in methods for the JobDetail class that allow me delete the job and all associated triggers? ...

Modifying Quartz.NET job details after they've been scheduled

Hi, I have a Quartz.NET application where I need the administrators to be able to modify the job details - mostly information in each jobs datamap, but also things like the triggers - here is my code I'm using protected void ButtonSubmit_Click(object sender, EventArgs e) { JobDetail jobDetail = sched.GetJobDetail(hdnID.V...

Editting jobs CronExpression programatically in Quartz.NET - what methods?

Hi, what methods are there for a CronTrigger to modify its CronExpression? I've tried to set it in the CronExpressionString but that doesn't seem to update it, and I can't convert my string to a CronExpression to use in the CronExpression method. ...

Using Unschedulejob to modify a triggers details - what am I doing wrong? (Quartz.NET)

Hi all, I'm using Quartz.NET for a system I am creating, where jobs are run via a Windows Service and can be added and editted (inlcuding trigger details) in an ASP.NET page. I'm having some issues though - I need to be able to modify a triggers details, such as the type of simpletrigger or the cronexpression, and I've been told that I ...

How can I refer to a property in a declarative xml file using quartz?

Hello everyone, I would like to know if there is a way to refer to a property from a quartz properties file when declaring jobs and triggers in a declarative form (an xml file), as we do with ant or maven for example, <trigger><simple><name>DummyTask</name><job-name>Dummy</job-name><repeat-count>${number.of.times}</repeat-count><repea...

Quartz.NET - getting jobs exception using IJobListener

Hi, I'm using Quartz.NET for an application I am creating, and I currently have an IJobListener listening for any errors with jobs, then sending emails off to the administrators. It'd be great if I could email the exception generated too, but how do I get the exception from the IJobListener? ...

Quartz.NET - how to detect whether a job is paused?

Hi all, I'm using Quartz.NET in a Windows Service I am creating, and I'd like a way to iterate over all jobs to detect whether it is paused or not. How do I check if a job is paused? I can't find a suitable method in the JobDetail class. Thanks ...

Getting jobs exception using IJobListener (Quartz.NET)

Hi, I'm using an IJobListener in Quartz.NET to audit all job successes/failures. When a job fails, I want the exception to be taken into the IJobListener so the exception can be stored too for later analysis. Currently my job listener is like this: public virtual void JobWasExecuted(JobExecutionContext context, JobExecutionException x)...

How to clear triggers in a Quartz Scheduler

If I have a Quartz scheduler running with a bunch of triggers and I want to clear out all the triggers, how is best to do that? I've considered iterating over the groups and names, calling unschedule as I go, but that seems very slow when there are thousands of triggers in place (around 2s to unschedule 10 triggers). A rudimentary test...

ASP.NET with Quartz.NET

Hi all, I'm currently developing a Windows service that utilises Quartz.NET to perform jobs. To actually input and edit jobs, an ASP.NET page is used on a seperate server (currently, they're just 2 projects in the same solution but they will be on a seperate server in the future). So far I am being lazy and declaring the scheduler in bo...

Immediate one time task with Quartz.

I am using a Quartz to build a clustered ThreadPool and I have number of tasks that run at various times. What is the best way to run 1 task immanently and only once on the clustered ThreadPool. I know I can set the task to a high priority. But what is the best way to register a "one shot" task? ...