Prune asset cache every 12 hours

This commit is contained in:
Claudio Ortolina
2025-09-20 08:17:16 +03:00
parent 772de1751e
commit a1b5842148
3 changed files with 40 additions and 1 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ config :music_library, Oban,
{Oban.Plugins.Cron,
crontab: [
# every 12 hours
{"0 */12 * * *", MusicLibrary.Worker.ApplyScrobbleRules}
{"0 */12 * * *", MusicLibrary.Worker.ApplyScrobbleRules},
{"0 */12 * * *", MusicLibrary.Worker.PruneAssetCache}
]}
]