Skip to content

Commit b71494a

Browse files
committed
Fix task name for clear_expired_sessions in celery schedule
1 parent 06782e9 commit b71494a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/settings/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ class CeleryConfig:
620620
'kwargs': {'dry_run': False},
621621
},
622622
'clear_expired_sessions': {
623-
'task': 'management.commands.clear_expired_sessions',
623+
'task': 'osf.management.commands.clear_expired_sessions',
624624
'schedule': crontab(minute=0, hour=5), # Daily 12 a.m
625625
'kwargs': {'dry_run': False},
626626
},

0 commit comments

Comments
 (0)