From c8f10e53c986a2ac06cd02622119c7db3cad97cc Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 15 Nov 2024 13:07:00 +0200 Subject: [PATCH] move top_poster_of_the_day task up --- files/helpers/cron.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index 268fc8833..d64781ee7 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -73,6 +73,9 @@ def cron_fn(every_5m, every_1d, every_1mo, manual): "WHERE users.zombie < 0")) g.db.commit() + _set_top_poster_of_the_day_id() + g.db.commit() + _generate_emojis_zip() g.db.commit() @@ -97,9 +100,6 @@ def cron_fn(every_5m, every_1d, every_1mo, manual): _expire_restrictions() g.db.commit() - _set_top_poster_of_the_day_id() - g.db.commit() - _grant_one_year_badges() g.db.commit()