From 39667d0dec90daf5911247d958d925f146f9c19c Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Wed, 10 Apr 2024 08:36:31 -0700 Subject: [PATCH] Added redownload worker to config.exs cron --- config/config.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index b395950..c157fab 100644 --- a/config/config.exs +++ b/config/config.exs @@ -52,7 +52,8 @@ config :pinchflat, Oban, {Oban.Plugins.Pruner, max_age: 30 * 24 * 60 * 60}, {Oban.Plugins.Cron, crontab: [ - {"@daily", Pinchflat.Downloading.MediaRetentionWorker} + {"0 1 * * *", Pinchflat.Downloading.MediaRetentionWorker}, + {"0 2 * * *", Pinchflat.Downloading.MediaRedownloadWorker} ]} ], # TODO: consider making this an env var or something?