Scheduling Background Tasks In .NET With Quartz



Scheduling Background Tasks In .NET With Quartz

Scheduling Background Tasks In .NET With Quartz

🚀 Support me on Patreon to access the source code: https://www.patreon.com/milanjovanovic

Background tasks are unavoidable for robust and modern applications. And Quartz is one of the best libraries for scheduling background tasks. In this video, I’ll show you the basics of working with Quartz and how to create your first background task.

Scheduling Background Jobs With Quartz.NET
https://www.milanjovanovic.tech/blog/scheduling-background-jobs-with-quartz-net

Running Background Tasks In ASP.NET Core
https://www.milanjovanovic.tech/blog/running-background-tasks-in-asp-net-core

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Subscribe for more:
https://www.youtube.com/@MilanJovanovicTech

Chapters
0:00 Setting up the Infrastructure project and DI
1:58 Configuring Quartz
2:58 Creating the background job with IJob
4:08 Scheduling the background job with Quartz
6:33 Checking out the background job in action
6:52 Telling Quartz to wait for jobs to complete
7:16 Turn off multiple job instances with DisallowConcurrentExecution
8:12 Setting up background jobs with IConfigureOptions

Comments are closed.