Fixed unecessary emails and add multiple reminder features
Short description on what are changed/implemented in this pull request
Supporting information
- Jira ticket: BB-6639
Discussions
None
Dependencies
None or link it here.
Visual changes
Merge deadline
"None" if there's no rush, "ASAP" if it's critical, or provide a specific date if there is one.
Testing instructions
- Get the devstack working
- Change it to the current branch(farhaan/bb-6639-fixing-multiple-reminders)
- Create a recurrence, add reminder of 2 days before the end date, now in the interval period schedule the list for 2 days.
- Change crontab to use
crontab()
so that it runs minutely. - docker logs -f listaflow-celeryworker-1
- You should see different mails being printed on the terminal
- You can play around with multiple values and multiple end date.
Author notes and concerns
None or note it here
Edited by Farhaan Bukhsh