Skip to content

Commit

Permalink
Merge pull request #150 from SmoFlaDru/dev-benno
Browse files Browse the repository at this point in the history
Call recorder in scheduled celery tasks
  • Loading branch information
Bensge authored Jan 21, 2025
2 parents 2bc984e + 235f56f commit 6b1bdcd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spybot/tasks.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
from celery import shared_task

from spybot.recorder.cron import cron


@shared_task()
def end_of_week_awards():
print("shared week awards job")
cron.end_of_week_awards()


@shared_task()
def record_hourly_activity():
print("record hourly activity job")
cron.record_hourly_activity()

0 comments on commit 6b1bdcd

Please sign in to comment.