uwblueprint / sistering

Sistering's volunteer scheduling and management web application.
https://volunteer.sistering.org
8 stars 0 forks source link

Create a scheduled cloud task that cleans up expired rows in UserInvite #441

Open MatoPlus opened 2 years ago

MatoPlus commented 2 years ago

This should be a weekly job that checks for any invite that has been more than 2 weeks old, if so remove them.

Similarly, if any invites older than 1 week, remind them to accept the invite.

Technical Notes:

MatoPlus commented 2 years ago

Actually, I think a cleaner solution for deleting expired rows would be using lazy cleanup, whenever we access expired rows, delete them and return error. However, we will still face an issue with reminder emails