diff --git a/bookwyrm/views/admin/dashboard.py b/bookwyrm/views/admin/dashboard.py index 87af434c5..2bfd272e7 100644 --- a/bookwyrm/views/admin/dashboard.py +++ b/bookwyrm/views/admin/dashboard.py @@ -83,7 +83,7 @@ class Dashboard(View): schedule, _ = IntervalSchedule.objects.get_or_create( **schedule_form.cleaned_data ) - PeriodicTask.objects.get_or_create( + PeriodicTask.objects.update_or_create( interval=schedule, name="check-for-updates", task="bookwyrm.models.site.check_for_updates_task",