move yearly badges to every_1d
parent
360ec73a45
commit
5839d69cd6
|
@ -50,12 +50,6 @@ def cron_fn(every_5m, every_1d, every_1mo):
|
|||
_unpin_expired()
|
||||
g.db.commit()
|
||||
|
||||
_grant_one_year_badges()
|
||||
g.db.commit()
|
||||
|
||||
_grant_two_year_badges()
|
||||
g.db.commit()
|
||||
|
||||
if not IS_LOCALHOST and SITE_NAME == 'WPD':
|
||||
reddit_mentions_task()
|
||||
g.db.commit()
|
||||
|
@ -104,6 +98,12 @@ def cron_fn(every_5m, every_1d, every_1mo):
|
|||
_set_top_poster_of_the_day_id()
|
||||
g.db.commit()
|
||||
|
||||
_grant_one_year_badges()
|
||||
g.db.commit()
|
||||
|
||||
_grant_two_year_badges()
|
||||
g.db.commit()
|
||||
|
||||
if every_1mo:
|
||||
_give_marseybux_salary()
|
||||
g.db.commit()
|
||||
|
|
Loading…
Reference in New Issue