forked from MarseyWorld/MarseyWorld
fix cron
parent
9220424324
commit
c02e1bd76f
|
@ -12,7 +12,8 @@ import files.helpers.lottery as lottery
|
|||
import files.helpers.offsitementions as offsitementions
|
||||
import files.helpers.stats as stats
|
||||
import files.helpers.awards as awards
|
||||
import files.routes.static as route_static
|
||||
|
||||
from files.routes.static import stats_cached, live_cached
|
||||
|
||||
from sys import stdout
|
||||
import datetime
|
||||
|
@ -32,8 +33,8 @@ def cron(every_5m, every_1h, every_1d, every_1mo):
|
|||
spin_roulette_wheel()
|
||||
offsitementions.offsite_mentions_task()
|
||||
if SITE_NAME == 'PCM':
|
||||
cache.delete_memoized(route_static.live_cached())
|
||||
route_static.live_cached()
|
||||
cache.delete_memoized(live_cached())
|
||||
live_cached()
|
||||
|
||||
if every_1h:
|
||||
awards.award_timers_bots_task()
|
||||
|
|
Loading…
Reference in New Issue