feat: add dummy housekeeping tasks

This commit is contained in:
Simon Ding
2025-09-14 15:41:22 +08:00
parent f0c89c6da0
commit 468b1c79a3
2 changed files with 27 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ func (c *Engine) addSysCron() {
})
c.registerCronJob("check_series_new_release", "0 0 */12 * * *", c.checkAllSeriesNewSeason)
c.registerCronJob("update_import_lists", "0 */20 * * * *", c.periodicallyUpdateImportlist)
c.registerCronJob("housekeeping", "0 0 * * * *", c.housekeeping)
c.schedulers.Range(func(key string, value scheduler) bool {
log.Debugf("add cron job: %v", key)