Questions tagged [quartz.net-2.0]

Quartz.NET is an open source job scheduling library for .NET. A job scheduler is a system that is responsible for executing (or notifying) other software components when a pre-determined (scheduled) time arrives. Version 2.0 with many Breaking Changes to Version 1.0 was released on April 9, 2012.

89 questions
41
votes
2 answers

Quartz.Net how to create a daily schedule that does not gain 1 minute per day

I am trying to build a repeating daily schedule in Quartz.Net but having a few issues: First off, I build a daily schedule, repating at 12:45 Using Quartz.Net code like this: var trigger = TriggerBuilder.Create() .WithDailyTimeIntervalSchedule(s…
Bittercoder
  • 11,753
  • 10
  • 58
  • 76
26
votes
3 answers

How to send argument to class in Quartz.Net

I'm using Quartz.Net (version 2) for running a method in a class every day at 8:00 and 20:00 (IntervalInHours = 12) Everything is OK since I used the same job and triggers as the tutorials on Quartz.Net, but I need to pass some arguments in the…
Hosein
  • 269
  • 1
  • 3
  • 3
17
votes
2 answers

How do I create a Quartz.NET’s job requiring injection with autofac

I am trying to get Quartz.net (2.1.2) to work with an IoC container (autofac), as I have services I need to use in the scheduled jobs. I have found similar posts on the subject, but I can't seem to find one with a specific registration example for…
TomZomW
  • 531
  • 1
  • 5
  • 15
13
votes
1 answer

Combining Quartz.Net with UI

I have been working on MVC3 project. I have just created Sample email sending job with Quartz.Net in my application. This time, I need to build a job scheduling system in my MVC3 project. The scenario is completely based on UI. It means, the users…
Dheyvendaran
  • 175
  • 1
  • 4
  • 12
9
votes
1 answer

Quartz.NET setting MisfireInstruction

I'm working in C# using Quartz.NET and am having problems setting the misfire instruction on a CronTrigger. I'm running an SQL backend with the Quartz DB installed. I have the following code which works fine for creating a job and running a…
Ben Catterall
  • 401
  • 3
  • 14
8
votes
6 answers

Recover from trigger ERROR state after Job constructor threw an exception?

When using Quartz.net to schedule jobs, I occasionally receive an exception when instantiating a job. This, in turn causes Quartz to set the trigger for the job to an error state. When this occurs, the trigger will cease firing until some manual…
Brian Vallelunga
  • 9,869
  • 15
  • 60
  • 87
7
votes
3 answers

Quartz.Net - Common Logging with log4net

I'm trying to implement Quartz.Net. As long as there is no logging configured everything works (the debug output shows "no configuration section found - suppressing logging output"). When logging is enabled I'll get the following error: Failed…
DirkV
  • 353
  • 1
  • 4
  • 16
6
votes
2 answers

using quartz.net on windows azure

I am using quartz.net in my asp.net app and the quartz scheduler works when I am running on my localhost but when I publish the site to windows azure it no longer works. Any help would be much appreciated.
kylez
  • 121
  • 4
6
votes
3 answers

How to ignore Misfires in Quartz.Net?

This is my Quartz configuration:
Jalal
  • 6,594
  • 9
  • 63
  • 100
5
votes
5 answers

How to keep quartz .net's scheduler alive?

I use quartz in my asp website, i initialize the scheduler in application_start method and shutdown in application_end method ,my trigger will fire everyday but I found that my scheduler will automatically shutdown if there are not request for a…
TommyLike
  • 1,010
  • 11
  • 20
5
votes
2 answers

The cron-expression element is invalid

I'm trying to use quartz_jobs.xml to schedule all my jobs, but the following XML results in an error: The cron-expression element is invalid. The value '0 0 23 1/1 * ? *' is invalid according to its datatype. Here's the XML:
Jonas Stawski
  • 6,682
  • 6
  • 61
  • 106
4
votes
2 answers

Quartz.Net - how to return a list of next fire times in 2.0

In version 1 we have computeFireTimes which will returns a list of Dates that are the next fire times of a Trigger Is there a way to do the same thing in version 2
Vince
  • 118
  • 1
  • 6
4
votes
3 answers

How to schedule task using Quartz.net 2.0?

I am trying to schedule a task using Quartz.net 2.0 in ASP.NET MVC 4 application, but i can not get the task to be executed. Here is the code: public class ScheduleTaskConfig { public static void StartScheduler() { ISchedulerFactory…
Marius Stănescu
  • 3,603
  • 2
  • 35
  • 49
4
votes
1 answer

Managing configuration for Quartz.Net

Quartz.Net uses XML files to configure the jobs that are to be run and the schedules for running those jobs. As far as I understand, the only other option to XML configuration is to configure the jobs and schedules at compile time. We have a large…
Sean Kearon
  • 10,987
  • 13
  • 77
  • 93
4
votes
0 answers

Unity MVC3 can't resolve object inside Quartz.net job constructor

Hy guys, I'm getting really confused so please help me out. I'm having a problem regarding the creation of an instance using Unity. The instance i want to create is of type Client, and i want to create it inside the Job constructor, but it keeps…
1
2 3 4 5 6