quartz

Can the Quartz scheduler be used for simulation?

I'm looking at using the Quartz scheduler, but I need to be able to use it both in 'live' mode, using the real clock, and 'simulation' mode where I control the simulated clock. Is this possible with Quartz? I couldn't see anything in the docs that suggested it was. Thanks, Jon ...

Quartz custom drawing and UIViews. Cannot see the quartz drawing.

Hello everyone, I am drawing on a UIview several other subviews. Then in the DrawRect method of this UIView I am drawing a bezier curve. UNFORTUNATELY, the bezier curve never shows up. I have checked that the bezier curve is behind the background of the view (when I remove the background view I can see it). How can I combine custom dr...

Classloading notes with quartz server in jboss 4.2.3

Hi i'm configure my quartz server on jboss to make it the access to other classes in a ear, setting in the quartz-service.xml that depends of the other .ear. The server deployed works fine but when the job it's work throws an excepcion of "No classloaders found" and it's rare because the quartz starts after my ear. I don't if i need anot...

Are Quartz scheduler instances thread safe?

Can more than one thread safely call methods on an instance of Scheduler returned by the StdSchedulerFactory concurrently? ...

How to handle application shutdown in Quartz.Net

I have used Quartz.Net for queuing and sending emails from my application. I don't know how each scheduled job responds to application instance stopping, pausing or shutting down. The IJob interface has no method that can notify a running job about these events. My question is how can I handle these cases when they occur so that the job...

Quartz.NET auditing

Just a quick question, I'm going to be using Quartz.NET for a Windows Service I am creating. I require all jobs carried out to be audited into a separate table (QRTZ_AUDIT) after completion or after failure, but is there a built in way of doing this? I could simply manually open up connections to both the jobs table and the audit table a...

Job details in Quartz.NET

I've asked questions about Quartz.NET a lot today, but I'm making progress in understand and really appreciate you guys helping me. I now think I understand how the jobs work but I have one issue. For each job, they need to have 3-4 extra fields in the 'QRTZ_JOB_DETAILS', such as pathnames etc. I added these in, but how do I access this ...

Shiro Plugin conflicting with Quartz framework in Grails

Hi All.. I have been working Quartz framework in my grails project with lib called quartz-all-1.7.3. Now I need to install the shiro plugin to my project. So, whenever I am installing shiro plugin to my project its getting installed successfully.. But again whenever I am running my project again it's giving compilation error as follow...

Why can't I use a variable for 'typeof' in Quartz.NET?

I'm trying to create a job in an ASP.NET (C#) form using Quartz.NET, and here's what I have so far: JobDetail jobDetail = new JobDetail(count + "_job", schedID, typeof(HTTPtoFTP)); Problem is, I don't want to link directly to the HTTPtoFTP class, because depending on what the user picks on the form , it'll link to a seperate class. I'...

Quartz.NET JobListener for failed jobs

In my Quartz.NET based application, I have a JobListener that audits all jobs executed to an audit table. However, I also want a listener to detect whenever any sort of error occurs, so I can catch this and email an email address that there is an error, and maybe find the specific error (i.e. my program moves files around, so an error co...

Checking for failed job in JobListener (Quartz.NET)

I currently have a Quartz.NET job listener for all executed jobs so they can be auditted to a table ,which is working fine. But I also need to do something else if the job fails to execute for some reason. How can I check if the job has failed in the JobListener? Thanks ...

Quartz.NET - edit/delete job page

Hi, I'm using Quartz.NET for a C# Windows Service I am creating. I want the administrators to be able to access a webpage that displays all jobs and associated triggers in a gridview so they can update or delete the jobs. The issue I have is a lot of data I want to be displayed/editable is stored in the JOB_DATA field, which is a binary...

Accessing JOB_DATA in Quartz without job executing

Hi, I'm using Quartz.NET and I need to be able to access a jobs 'JOB_DATA' fields without the job being executed. I mention without it being executed because, using a joblistener I can acess the information using the 'context' variable given, such as: public static void sendMail(JobExecutionContext context) { JobData...

Would Quartz.NET calendars be a solution?

Hi all, I'm using Quartz.NET for a project for work and I have a request off my manager for a feature, which he isn't sure is feasible but I'm very interested in doing this. Basically, there needs to be an option to change the scheduler to do a different 'configuration'. By this I mean, disable certain jobs when this configuration is c...

Quartz not picking up jobs with no errors

Hi, We're running Quartz 1.8.3 on JBoss 4.2.3 . The Quartz instance is configured to store job in Sybase with a no-tx datasource. I'm currently having with Quartz not running any jobs at all, and no errors are being picked up from the logs. So far, I've confirmed the following: Adding a new trigger/job is working fine (rows added to ...

Can Quartz.NET disable jobs from executing?

Hi all, just a quick question. I need to be able to disable some jobs temporarily in Quartz.NET using an ASP.NET backend. Is there a field in any of the tables (I'm using it with a database) that can disable the job? Thanks ...

Quartz.NET calendars

Just a few questions: 1: Is there any in depth tutorials online how to use calendars in Quartz? I'm using Quartz.NET but Quartz tutorials would be vastly helpful of course. 2: More importantly, my application needs 2 configuration options. One configuration option is default - every job added runs, but when the scheduler is switched ...

How to draw Truncated text with ATSUI.

Hi, How do i draw truncated text with ATSUI?? I have a legacy app which uses QuickDraw API. it uses StringWidth , TruncString and DrawString functions. I could replace the StringWidth and DrawString with ATSUI's ATSUMeasureTextImage and ATSUDrawText. However i could not find a way to truncate a string so that it fits into a rect. I use...

How can I use a property on my Job instead of JobDataMap dictionary in Quartz.NET?

Hi there, I am working on a Windows service which needs to schedule tasks whenever one of it's web services is called. This could happen hundreds of times per second in a worst case scenario. The task needs to wait a period of time, typically a minute or two, then call a method passing a parameter. We tried to build our own scheduler c...

How to draw on a non-transformed context while zoomed in a CATiledLayer?

I'm using a CATiledLayer for the visualisation of data. By default the drawLayer function gets a transposed and scaled context, which allow the drawing code to be agnostic of the zoom-level and the tile that's being requested. However, I would like to use the zoom functionality to change the horizontal range of the data, without actual z...