Internal
Public Access
Simplify notification system to daily email only
Replace complex notification system with a simple daily email: - Send ONE email per day between 6-9 AM in user's timezone - Show tasks due today and overdue tasks - Only send if user has email_notifications enabled - Remove all push notification logic - Keep recurring task processor (runs daily at midnight) This makes notifications much simpler and less intrusive while still providing value to users. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.5
parent
842b958b43
commit
03cfdea42d
+4
-8
@@ -22,17 +22,13 @@ app.autodiscover_tasks()
|
||||
|
||||
# Celery Beat schedule for periodic tasks
|
||||
app.conf.beat_schedule = {
|
||||
'send-due-reminders': {
|
||||
'task': 'notifications.tasks.send_due_reminders',
|
||||
'schedule': crontab(minute='*/5'), # Every 5 minutes
|
||||
},
|
||||
'check-overdue-tasks': {
|
||||
'task': 'notifications.tasks.check_overdue_tasks',
|
||||
'schedule': crontab(hour=8, minute=0), # Daily at 8 AM
|
||||
'send-daily-task-email': {
|
||||
'task': 'notifications.tasks.send_daily_task_email',
|
||||
'schedule': crontab(hour=6, minute=0), # Daily at 6 AM UTC
|
||||
},
|
||||
'process-recurring-tasks': {
|
||||
'task': 'notifications.tasks.process_recurring_tasks',
|
||||
'schedule': crontab(minute=0), # Every hour
|
||||
'schedule': crontab(hour=0, minute=0), # Daily at midnight
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user