Skip to content

Commit

Permalink
fix: Fix task specs in periodic_tasks.py (#6965)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards authored Jan 24, 2024
1 parent d9cc26b commit 0dadeb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ietf/utils/management/commands/periodic_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_or_create_crontabs(self):
def create_default_tasks(self):
PeriodicTask.objects.get_or_create(
name="Send scheduled mail",
task="ietf.meeting.tasks.send_scheduled_mail_task",
task="ietf.message.tasks.send_scheduled_mail_task",
defaults=dict(
enabled=False,
crontab=self.crontabs["every_15m"],
Expand All @@ -66,7 +66,7 @@ def create_default_tasks(self):

PeriodicTask.objects.get_or_create(
name="Partial sync with RFC Editor index",
task="ietf.review.tasks.rfc_editor_index_update_task",
task="ietf.sync.tasks.rfc_editor_index_update_task",
kwargs=json.dumps(dict(full_index=False)),
defaults=dict(
enabled=False,
Expand All @@ -81,7 +81,7 @@ def create_default_tasks(self):

PeriodicTask.objects.get_or_create(
name="Full sync with RFC Editor index",
task="ietf.review.tasks.rfc_editor_index_update_task",
task="ietf.sync.tasks.rfc_editor_index_update_task",
kwargs=json.dumps(dict(full_index=True)),
defaults=dict(
enabled=False,
Expand Down

0 comments on commit 0dadeb2

Please sign in to comment.