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
0
votes
1 answer

Quartz.net keeping a single Scheduler running asp.net

Am I understanding this correctly? ISchedulerFactory sf = new StdSchedulerFactory(); IScheduler sched = sf.GetScheduler(); sched.Start(); Is the StdSchedulerFactory a singleton? What I want to achieve is in my global,asax on Application_Start…
Crudler
  • 2,194
  • 3
  • 30
  • 57
-1
votes
0 answers

Updating Quartz Scheduler Database Tables Directly

We've built a report scheduling system using Quartz Scheduler and IBM MQ. Things are working great and we're now getting ready to import scheduled reports from our legacy system into the new. Our old system, like our Quartz data, is stored in an MS…
todji
  • 141
  • 7
-1
votes
0 answers

How can I prevent my desktop app from making duplicates of a hosted service?

Apologies again, I'm a beginner programmer who really needs some assistance. I'm in the process of making a desktop app to configure Quartz.NET jobs. With thanks to Selaka Nanayakkara (see here, so far I've been able to make a desktop app (with a…
-1
votes
0 answers

Quartz.NET TriggerListener.TriggerComplete triggerInstructionCode always has the value NoInstruction

No matter if I call UnscheduleJob or RescheduleJob the triggerInstructionCode parameter in the TriggerComplete method of the Trigger Listener always has the value "NoInstruction". Im expecting it to be SetTriggerComplete after calling UnscheduleJob…
lkluever
  • 1
  • 3
-1
votes
0 answers

how to fix my problem in reschedule quartz job in .net

I have a job and I want to change that interval dynamically with a special formula. I rescheduled it but it doesn't work correctly. I create the job in a hosted service, like this : var gap = handler.GetRestTime(); var jobDataMap = new…
-1
votes
1 answer

Quartz .Net not working....."Batch acquisition of 0 triggers"

I am working on creating Job scheduler for windows service .net core using Quartz. My code follows quartz implementation exactly as mentioned in below…
Mihir
  • 45
  • 8
-1
votes
1 answer

How to restart a job in quartz

I have a list of jobs and they have their data. Also, I have an API to change their data source (LastParsedBlock) and I want it to stop that specific job when I change the data and start all the processes from the beginning and I don't want it to…
-1
votes
1 answer

Is there a way that we can manage PgAgent Jobs on a C#/.NET application? Any library or third party tool? (PostgreSQL)

We know that there is SQL Server Agent, functions as Job Scheduler, in MSSQL. If we want to manage jobs on Server Agent, with a C#/.NET application, we can use Microsoft.SqlServer.Management.Smo library and start a connection between two (SQL Server…
Selenay
  • 3
  • 1
-1
votes
1 answer

Quartz, Quartz.Jobs and Quartz.AspNetCore Nuget Packages

I'm trying to understand the differences between Quartz, Quartz.Jobs, and the Quartz.AspNetCore NuGet packages. What does Quartz.Jobs provide that is not in the Quartz package, when should I use it and why? The same question applies to…
Jeffery Pyle
  • 1
  • 1
  • 4
-1
votes
4 answers

How to put my C# code in string to pass to an e-mail?

I am using Mailkit to send an email. So in the body of the email, I am passing data like this: message.Body = new TextPart("plain") { foreach (var item in model.Transaction) { Console.WriteLine(item.Account…
marnus
  • 11
-1
votes
1 answer

Quartz .Net Causes services.exe to cause CPU spike on services.exe

Our background application which is built using Quartz causes Services and Controller App (services.exe) to use a high CPU. The application itself uses an acceptable range of CPU (0-1% when idle, 3-4% when jobs triggered) and memory (max 200MB). But…
-1
votes
1 answer

How to fix Socket Error: connection reset by peer

I run a project .NET have Quazrt Job in dev.azure. My job query and insert/update data in mysql db I got an error is: job executesqljob failed with exception: parameters: refire = false, unschedulefiringtrigger = false, unschedulealltriggers = false…
-1
votes
1 answer

GetAwaiter not working to wait for the completion of Quartz library's Clear method - is there a bug in Quartz or a gap in my understanding?

The latest version of the Quartz library switched everything to use async/await. The calling application has synchronous calls that are very embedded in the framework, so I am stuck calling .GetAwaiter()(I know it's not ideal. It's a console app, so…
-1
votes
1 answer

Quartz.NET three level architecture С#

There is a class that is inherited from the IJob interface. An instance of this class is created by implementation of the interface. In the constructor of this class, I call a method to for quartz start ExecuteTimeBuilder.Start(); public class…
FX_Sektor
  • 1,206
  • 2
  • 14
  • 32
-1
votes
1 answer

Get Cron Expression from Trigger

How can I get the CronExpression (string) from a trigger? I see the expression in the DB but I am not sure how to retrieve it via the provided API.
user3397856
  • 41
  • 1
  • 1
  • 10