Web feed verification

This commit is contained in:
2026-01-14 01:33:03 +08:00
parent 2401eed3ed
commit 988d9695b3
4 changed files with 252 additions and 0 deletions

View File

@@ -26,6 +26,13 @@ public static class ScheduledJobsConfiguration
.WithIdentity("WebFeedScraperTrigger")
.WithCronSchedule("0 0 0 * * ?")
);
q.AddJob<WebFeedVerificationJob>(opts => opts.WithIdentity("WebFeedVerification").StoreDurably());
q.AddTrigger(opts => opts
.ForJob("WebFeedVerification")
.WithIdentity("WebFeedVerificationTrigger")
.WithCronSchedule("0 0 4 * * ?")
);
});
services.AddQuartzHostedService(q => q.WaitForJobsToComplete = true);