diff --git a/lms/envs/production.py b/lms/envs/production.py index 2587e3883654..f8b0b2f6171e 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -411,7 +411,7 @@ def get_env_setting(setting): # If we didn't override the value in YAML, OR we overrode it to a truthy value, # then update CELERYBEAT_SCHEDULE. CELERYBEAT_SCHEDULE['refresh-saml-metadata'] = { - 'task': 'common.djangoapps.third_party_auth.fetch_saml_metadata', + 'task': 'common.djangoapps.third_party_auth.tasks.fetch_saml_metadata', 'schedule': datetime.timedelta(hours=hours), }