Implement email notifications
This commit is contained in:
@@ -71,6 +71,10 @@ CELERYBEAT_SCHEDULE = {
|
||||
'package_score_update': {
|
||||
'task': 'app.tasks.pkgtasks.updatePackageScores',
|
||||
'schedule': crontab(minute=10, hour=1),
|
||||
},
|
||||
'send_pending_notifications': {
|
||||
'task': 'app.tasks.emails.sendPendingNotifications',
|
||||
'schedule': crontab(minute='*/5'),
|
||||
}
|
||||
}
|
||||
celery.conf.beat_schedule = CELERYBEAT_SCHEDULE
|
||||
|
||||
Reference in New Issue
Block a user