forked from MarseyWorld/MarseyWorld
fix cron
parent
77fa9de79a
commit
9220424324
|
@ -6,6 +6,7 @@ from files.helpers.roulette import spin_roulette_wheel
|
|||
from files.helpers.get import *
|
||||
from files.helpers.actions import *
|
||||
from files.classes import *
|
||||
from files.__main__ import cache
|
||||
|
||||
import files.helpers.lottery as lottery
|
||||
import files.helpers.offsitementions as offsitementions
|
||||
|
@ -31,6 +32,7 @@ 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()
|
||||
|
||||
if every_1h:
|
||||
|
|
Loading…
Reference in New Issue