I have an ASP.NET Core MVC project that uses Quartz.NET to run background jobs.
Problem: I have configured the IIS application pool for this app with:
StartMode = AlwaysRunning
Idle Timeout = 0 (disabled)
Preload Enabled = true (Application level)
Despite this configuration, when the application pool recycles, the Quartz jobs are not scheduled. The jobs only start after the application receives an HTTP request to any controller.
I want the Quartz scheduler to start immediately after the application pool recycles, without waiting for an HTTP request.