Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the Email Worker #549

Open
andrewminer opened this issue Jul 30, 2021 · 0 comments
Open

Create the Email Worker #549

andrewminer opened this issue Jul 30, 2021 · 0 comments
Labels
Kitping Issues which specifically relate to Kitping Refactoring Behind-the-scenes improvements to make the code easier to modify

Comments

@andrewminer
Copy link
Member

andrewminer commented Jul 30, 2021

  • wake up hourly
  • find the user with the earliest next_reminder_at date which has past
    • if any was found, adjust the next wake up to be in one minute
    • call user.generate_next_reminder()
    • call reminder.send()
    • call reminder.create() to save it and its contact
    • increment user.preferences.next_reminder_at by one week and save
@andrewminer andrewminer added Refactoring Behind-the-scenes improvements to make the code easier to modify Kitping Issues which specifically relate to Kitping labels Jul 30, 2021
@andrewminer andrewminer added this to the Kitping v1.0.0 milestone Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Kitping Issues which specifically relate to Kitping Refactoring Behind-the-scenes improvements to make the code easier to modify
Development

No branches or pull requests

1 participant