forked from MarseyWorld/MarseyWorld
fix cronjob
parent
227810dec9
commit
77fa9de79a
|
@ -29,8 +29,9 @@ def cron(every_5m, every_1h, every_1d, every_1mo):
|
||||||
if every_5m:
|
if every_5m:
|
||||||
lottery.check_if_end_lottery_task()
|
lottery.check_if_end_lottery_task()
|
||||||
spin_roulette_wheel()
|
spin_roulette_wheel()
|
||||||
g.db.commit()
|
|
||||||
offsitementions.offsite_mentions_task()
|
offsitementions.offsite_mentions_task()
|
||||||
|
if SITE_NAME == 'PCM':
|
||||||
|
route_static.live_cached()
|
||||||
|
|
||||||
if every_1h:
|
if every_1h:
|
||||||
awards.award_timers_bots_task()
|
awards.award_timers_bots_task()
|
||||||
|
@ -39,8 +40,6 @@ def cron(every_5m, every_1h, every_1d, every_1mo):
|
||||||
stats.generate_charts_task(SITE)
|
stats.generate_charts_task(SITE)
|
||||||
route_static.stats_cached()
|
route_static.stats_cached()
|
||||||
sub_inactive_purge_task()
|
sub_inactive_purge_task()
|
||||||
if SITE_NAME == 'PCM':
|
|
||||||
route_static.live_cached()
|
|
||||||
|
|
||||||
if every_1mo:
|
if every_1mo:
|
||||||
if KOFI_LINK: give_monthly_marseybux_task_kofi()
|
if KOFI_LINK: give_monthly_marseybux_task_kofi()
|
||||||
|
|
Loading…
Reference in New Issue