🐛 Fix sphere

This commit is contained in:
2026-01-02 01:36:04 +08:00
parent 07b8c99682
commit b90d1be552
3 changed files with 9 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
using DysonNetwork.Insight.Reader;
using DysonNetwork.Insight.Thought;
using Quartz;
@@ -18,6 +19,13 @@ public static class ScheduledJobsConfiguration
.WithIntervalInMinutes(5)
.RepeatForever())
);
q.AddJob<WebFeedScraperJob>(opts => opts.WithIdentity("WebFeedScraper").StoreDurably());
q.AddTrigger(opts => opts
.ForJob("WebFeedScraper")
.WithIdentity("WebFeedScraperTrigger")
.WithCronSchedule("0 0 0 * * ?")
);
});
services.AddQuartzHostedService(q => q.WaitForJobsToComplete = true);