feat(backend): migrate auth and notifications off email
Some checks failed
Backend CI/CD / test (push) Has been cancelled
Backend CI/CD / deploy (push) Has been cancelled

This commit is contained in:
2026-05-21 10:28:04 +03:30
parent b4903f7cb1
commit b7b21a6cc6
35 changed files with 2784 additions and 1390 deletions

View File

@@ -33,15 +33,10 @@ app.conf.beat_schedule = {
'schedule': crontab(minute=0, hour='*/1'),
'description': 'Runs hourly to notify about upcoming events.',
},
'send-weekly-newsletter': {
'task': 'apps.communications.tasks.send_weekly_newsletter',
'schedule': crontab(hour=9, minute=0, day_of_week=1),
'description': 'Runs every Monday at 09:00 UTC.',
},
'cleanup-expired-tokens': {
'task': 'apps.communications.tasks.cleanup_expired_tokens',
'cleanup-notification-retention': {
'task': 'apps.notifications.tasks.cleanup_notification_retention',
'schedule': crontab(hour=2, minute=0),
'description': 'Runs daily at 02:00 UTC.',
'description': 'Runs daily at 02:00 UTC to cleanup notification retention.',
},
'process-scheduled-announcements': {
'task': 'apps.communications.tasks.process_scheduled_announcements',