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()