diff --git a/files/helpers/cron.py b/files/helpers/cron.py index c5393f5d2..e8c18212e 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -29,8 +29,9 @@ def cron(every_5m, every_1h, every_1d, every_1mo): if every_5m: lottery.check_if_end_lottery_task() spin_roulette_wheel() - g.db.commit() offsitementions.offsite_mentions_task() + if SITE_NAME == 'PCM': + route_static.live_cached() if every_1h: awards.award_timers_bots_task() @@ -39,8 +40,6 @@ def cron(every_5m, every_1h, every_1d, every_1mo): stats.generate_charts_task(SITE) route_static.stats_cached() sub_inactive_purge_task() - if SITE_NAME == 'PCM': - route_static.live_cached() if every_1mo: if KOFI_LINK: give_monthly_marseybux_task_kofi()