Skip to content

Commit

Permalink
Update celery task names to match python path after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Comeani authored Sep 13, 2024
1 parent f2cd0c5 commit 1dcd0c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions keystone_api/apps/scheduler/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
'schedule': crontab(hour='0', minute='0'),
'description': 'This task clears the JWT token blacklist.'
},
'apps.allocations.tasks.update_limits': {
'apps.allocations.tasks.limits.update_limits': {
'task': 'apps.allocations.tasks.update_limits',
'schedule': crontab(minute='0'),
'description': 'This task updates all Slurm clusters with the latest user allocation limits.'
},
'apps.allocations.tasks.notify_upcoming_expirations': {
'apps.allocations.tasks.notifications.notify_upcoming_expirations': {
'task': 'apps.allocations.tasks.notify_upcoming_expirations',
'schedule': crontab(hour='0', minute='0'),
'description': 'This task issues notifications informing users of upcoming expirations.'
},
'apps.allocations.tasks.notify_past_expirations': {
'task': 'apps.allocations.tasks.notify_past_expirations',
'task': 'apps.allocations.tasks.notifications.notify_past_expirations',
'schedule': crontab(hour='0', minute='0'),
'description': 'This task issues notifications informing users when their allocations have expired.'
},
Expand Down

0 comments on commit 1dcd0c6

Please sign in to comment.