From d0f9d5daad247dd22892668034e53841a5b170a5 Mon Sep 17 00:00:00 2001 From: Oleg Valter Date: Sun, 1 Dec 2024 22:11:39 +0300 Subject: [PATCH] added cleanup_drafts as a daily job --- config/schedule.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/schedule.rb b/config/schedule.rb index 03648b0ee..39d5eee0b 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -14,6 +14,10 @@ runner 'scripts/run_spam_cleanup.rb' end +every 1.day, at: '02:20' do + runner 'scripts/cleanup_drafts.rb' +end + every 6.hours do runner 'scripts/recalc_abilities.rb' end