Able to read news across pages

This commit is contained in:
2025-01-25 22:48:14 +08:00
parent d91192a11a
commit 48a04b09a4
4 changed files with 51 additions and 17 deletions

View File

@@ -80,7 +80,7 @@ func main() {
// Configure timed tasks
quartz := cron.New(cron.WithLogger(cron.VerbosePrintfLogger(&log.Logger)))
quartz.AddFunc("@every 60m", services.DoAutoDatabaseCleanup)
quartz.AddFunc("@midnight", services.ScanNewsSources)
quartz.AddFunc("@midnight", services.ScanNewsSourcesNoEager)
quartz.Start()
// Server