forked from rDrama/rDrama
wtf?
parent
6478401e59
commit
11ed781b7a
|
@ -43,6 +43,7 @@ def cron(every_5m, every_1h, every_1d, every_1mo):
|
||||||
stats.generate_charts_task(SITE)
|
stats.generate_charts_task(SITE)
|
||||||
_sub_inactive_purge_task()
|
_sub_inactive_purge_task()
|
||||||
site_stats = stats.stats(SITE_NAME)
|
site_stats = stats.stats(SITE_NAME)
|
||||||
|
if site_stats:
|
||||||
cache.set(f'{SITE}_stats', site_stats)
|
cache.set(f'{SITE}_stats', site_stats)
|
||||||
|
|
||||||
if every_1mo:
|
if every_1mo:
|
||||||
|
|
Loading…
Reference in New Issue