Content
View differences
Updated by Attila Dombi over 3 years ago
* Triggered at 1 am local time. The job thus has to run every 15 min.
* See `Notifications::ScheduleReminderMailsJob` for something similar
* Generate date alerts depending on the setting (might be good to extract the creation part into a service). The `Notifications::CreateFromModelService` probably cannot be adapted but might serve as a blueprint.
* 2 types of notifications should be created:
1. Reason is `date_alert_start_date` for upcoming start date notifications.
2. Reason is `date_alert_due_date` for upcoming and due date notifications and for overdue notifications. They are technically the same, so we don't have to make a differentiation. (The due date notifications will turn into overdue on the fronted, when the due date has passed.)
* See `Notifications::ScheduleReminderMailsJob` for something similar
* Generate date alerts depending on the setting (might be good to extract the creation part into a service). The `Notifications::CreateFromModelService` probably cannot be adapted but might serve as a blueprint.
* 2 types of notifications should be created:
1. Reason is `date_alert_start_date` for upcoming start date notifications.
2. Reason is `date_alert_due_date` for upcoming and due date notifications and for overdue notifications. They are technically the same, so we don't have to make a differentiation. (The due date notifications will turn into overdue on the fronted, when the due date has passed.)