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
1,505
questions
0
votes
0
answers
22
views
Problem with concurrency while updating data in DB using Quartz .NET and EF Core
I want to introduce horizontal scaling instead of vertical in my app.
Now we are using Quartz .NET for background tasks, but in non-clustered mode, just 1 instance.
So I found ability to do horizontal ...
0
votes
1
answer
47
views
Quartz.NET not loading any jobs defined in the SQL Server database
I have defined a job and trigger in a SQL Server database, but cannot get the job to load or trigger to fire. I'm just wondering if someone can guide me towards the resolution to this, I'm sure I must ...
0
votes
0
answers
15
views
How to remove a specific queued up job from quartz?
I have a IJob class with the attribute '[DisallowConcurrentExecution]'.
We basically upload a file and do some processing.
Users trigger the job multiple times. For example, they initiate 10 uploads. ...
0
votes
1
answer
43
views
relation "qrtz_job_details" does not exist
whenever trying to trigger a background job in Quartz getting
Quartz.JobPersistenceException: Couldn't determine job existence (sda.dsa): 42P01: relation "qrtz_job_details" does not exist.
I ...
0
votes
1
answer
22
views
How to set multiple triggers for one job in Quartz.NET
I am having a trouble with setting multiple triggers for one job.
Here is the example.
StdSchedulerFactory factory = new StdSchedulerFactory();
IScheduler scheduler = await factory.GetScheduler();
...
0
votes
1
answer
33
views
ASP.NET Core Quartz error on app start: DataSource name not set
I am trying to configure and start Quartz in my ASP.NET Core 8.0 project. In this project I configured Quartz like this:
public static class QuartzConfiguration
{
public static void ...
0
votes
1
answer
79
views
Newtonsoft: How to find self-referencing loop?
I'm getting an error when I attempt to serialize an object:
Self referencing loop detected with type 'Namespace.MyClass'. Path ''.
I understand what this error means. Somewhere in my class, I have a ...
1
vote
0
answers
26
views
Ensure Quartz job to run at startup when using Quartz.Extensions.DependencyInjection
I am using Quartz with DI, like this:
services.AddQuartz(q =>
{
// Create a "key" for the job
var jobKey = new JobKey("MyJobKey");
// Register the job with the DI ...
-1
votes
0
answers
13
views
Inject Services for Jobs using CrystalQuartz
I am having a problem on how to use CrystalQuartz with Jobs that needed an injected service.
I have a class that is implementing the Quartz IJob interface, and it inherited a basejob class that is ...
0
votes
1
answer
45
views
How to persist job data on every run, not just when there's a change?
I've got a largge Quartz database that uses binary serialization across the board. I want to migrate everything in the JB to JSON serialization, and I'm using the example here as a guide.
I spin up ...
0
votes
0
answers
19
views
Quartz.Net context.Scheduler.GetCurrentlyExecutingJobs() and Interrupt() not retrieving the active running jobs
In Quart.NET, v3.81, I have an issue where basically when a job starts at the same time, we're talking 10 to 50 miliseconds here, as I'm trying to interrupt it, Quartz doesn't recognize that it ...
0
votes
1
answer
45
views
Job not running every hour
I try export file into folder path and run job every hour. It’s work on my local server. When I deployment on production server. I found missing hour in folder path. Please help me
My result:
2024-01-...
0
votes
0
answers
31
views
Custom jobs at runtime with Quartz.NET
In the application I'm developing, we need to support custom jobs that can be scheduled at runtime via an API. We've picked Quartz as the scheduling library. So far I've configured Quartz persistent ...
2
votes
1
answer
51
views
Quartz.net: Prevent Scheduled Job from Running When Computer is Inactive in C#
I have a Windows service written in C# that uses Quartz.NET for job scheduling. The service is designed to run a job at regular intervals. A minimal version of my code:
// ...
protected override ...
0
votes
0
answers
37
views
Not able to kill thread
I am executing parallel workflow actions(Any one task as one action) via windows service created using .NET 4.5 C# and QUARTZ 2.3.3.When end user pause workflow execution then trying to kill that ...