Questions tagged [quartz.net]

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 predetermined (scheduled) time arrives. NOTE: this tag is for questions about the .NET version; for Java questions please use [quartz-scheduler] instead.

Quartz.NET is an open-source job scheduling service for .NET.

Quartz.Net can be used to create schedules for jobs at any scale with support for things like transactions and clustering. Quartz.NET is a port of the Java library, Quartz.

1484 questions
72
votes
2 answers

How to use Quartz.net with ASP.NET for scheduling jobs to trigger mail?

I don't know how to use Quartz.dll in ASP.NET. Where should we write the code for scheduling jobs to trigger mail every morning?
ACP
  • 34,682
  • 100
  • 231
  • 371
59
votes
3 answers

Where is the documentation for Quartz.NET configuration files?

I can't find documentation anywhere on the syntax for Quartz.NET configuration files. I'd like to learn about Configuring the service itself Configuring jobs via the XML scheduler plugin. I've seen plenty of examples, but I'm looking for a…
JamieGaines
  • 2,062
  • 1
  • 18
  • 20
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
39
votes
3 answers

Constructor injection with Quartz.NET and Simple Injector

Currently I am writing a service using Quartz.NET to schedule the running of it. I was wondering if anyone has any experience of using constructor injection with Quartz.NET and Simple Injector. Below is essentially what I wish to achieve public…
Thewads
  • 4,953
  • 11
  • 55
  • 71
33
votes
4 answers

In Quartz.NET is there a way to set a property that will only allow one instance of a Job to run?

I have a service that will run every X minutes. If that job takes longer than X minutes for some unforeseen reason I want to make sure that the trigger doesn't kick off a second instance of this job. Sample Scenario I have Job X, picks up files…
Mark
  • 3,717
  • 3
  • 33
  • 48
33
votes
6 answers

.net Core Quartz Dependency Injection

How can I configure Quartz in .net core to use dependency injection? I using standard .net core Dependency mechanism. In constructor of class that implements IJob, I need inject some dependencies.
donex93
  • 513
  • 2
  • 5
  • 16
31
votes
4 answers

Quartz.NET vs Windows Scheduled Tasks. How different are they?

I'm looking for some comparison between Quartz.NET and Windows Scheduled Tasks? How different are they? What are the pros and cons of each one? How do I choose which one to use? TIA,
Serge Wautier
  • 21,494
  • 13
  • 69
  • 110
29
votes
3 answers

Quartz.NET implementation doesn't jive with tutorials

I attempted to implement a very simple Quartz.net implementation using this tutorial using Quartz; using Quartz.Impl; // construct a scheduler factory ISchedulerFactory schedFact = new StdSchedulerFactory(); // get a scheduler IScheduler sched =…
Michael Glass
  • 472
  • 5
  • 10
28
votes
5 answers

Castle.Windsor lifestyle depending on context?

I have a web application where many components are registered using .LifestylePerWebRequest(), now I've decided to implement Quartz.NET, a .NET job scheduling library, which executes in separate threads, and not the Request thread. As such,…
bevacqua
  • 47,502
  • 56
  • 171
  • 285
27
votes
4 answers

CronExpressions - any librarys out there to generate them/convert them into human readable form?

I am using Quartz.NET, and my scheduler relies heavily on the use of cron expression's - such as the ones detailed on this link: http://quartznet.sourceforge.net/tutorial/lesson_6.html Ideally, I'd like the 2 scenarios to be made possible (the 1st…
Chris
  • 7,415
  • 21
  • 98
  • 190
27
votes
1 answer

Configuring ADOJobStore with Quartz.net

How do you set up a jobstore with Quartz.net. The tutorial they have on the site is not that of help for me. In this page though there are steps http://quartznet.sourceforge.net/tutorial/lesson_9.html I am not able to get how to set this…
acadia
  • 1,607
  • 5
  • 18
  • 19
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
24
votes
6 answers

Turn off Debug Logging in Quartz .Net

I am using Quartz.NET for scheduling some custom tasks in our application. Everything works fine except that it logs about twenty debug entries in one second. I don't know how to turn off the debug logging. Any help would be really appreciated as I…
Ganesh
  • 251
  • 1
  • 2
  • 5
24
votes
5 answers

How to start Quartz in ASP.NET Core?

I have the following class public class MyEmailService { public async Task SendAdminEmails() { ... } public async Task SendUserEmails() { ... } } public interface IMyEmailService { …
dev2go
  • 1,539
  • 3
  • 13
  • 15
23
votes
3 answers

Handle JobExecutionException in Quartz.net

Probably a stupid question... but here goes anyway... I have set up quartz, and can schedule jobs, and I can confirm that jobs (implementing the IJob interface) are working. Looking at the documentation on the site, (Lesson 3 of the tutorial): The…
tardomatic
  • 2,396
  • 3
  • 21
  • 29
1
2 3
98 99