diff --git a/website/settings/defaults.py b/website/settings/defaults.py index b305fe0fd88..0467ef3c166 100644 --- a/website/settings/defaults.py +++ b/website/settings/defaults.py @@ -620,7 +620,7 @@ class CeleryConfig: 'kwargs': {'dry_run': False}, }, 'clear_expired_sessions': { - 'task': 'management.commands.clear_expired_sessions', + 'task': 'osf.management.commands.clear_expired_sessions', 'schedule': crontab(minute=0, hour=5), # Daily 12 a.m 'kwargs': {'dry_run': False}, },