Skip to content

Commit

Permalink
Fix task name for clear_expired_sessions in celery schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
cslzchen committed Sep 12, 2024
1 parent 06782e9 commit b71494a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/settings/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
},
Expand Down

0 comments on commit b71494a

Please sign in to comment.