restore y'all-seeing eye on wpd
parent
21ada1fda6
commit
a9959e0533
|
@ -56,18 +56,18 @@ def cron_fn(every_5m, every_1d, every_1mo):
|
||||||
_grant_two_year_badges()
|
_grant_two_year_badges()
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
|
|
||||||
#if not IS_LOCALHOST:
|
if not IS_LOCALHOST and SITE_NAME == 'WPD':
|
||||||
#reddit_mentions_task()
|
reddit_mentions_task()
|
||||||
#g.db.commit()
|
g.db.commit()
|
||||||
|
|
||||||
#lemmy_mentions_task()
|
lemmy_mentions_task()
|
||||||
#g.db.commit()
|
g.db.commit()
|
||||||
|
|
||||||
#fourchan_mentions_task()
|
fourchan_mentions_task()
|
||||||
#g.db.commit()
|
g.db.commit()
|
||||||
|
|
||||||
#soyjak_mentions_task()
|
soyjak_mentions_task()
|
||||||
#g.db.commit()
|
g.db.commit()
|
||||||
|
|
||||||
if every_1d or (not cache.get('stats') and not IS_LOCALHOST):
|
if every_1d or (not cache.get('stats') and not IS_LOCALHOST):
|
||||||
if IS_HOMOWEEN():
|
if IS_HOMOWEEN():
|
||||||
|
|
Loading…
Reference in New Issue