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

Auto remove old inactive user accounts (eg. of Y16s) #16

Open
abdatta opened this issue Oct 22, 2019 · 0 comments
Open

Auto remove old inactive user accounts (eg. of Y16s) #16

abdatta opened this issue Oct 22, 2019 · 0 comments
Assignees
Labels
backend Requires work in the Node.js backend. good first issue Good for newcomers

Comments

@abdatta
Copy link
Owner

abdatta commented Oct 22, 2019

Situation: Currently, accounts don't get deleted even after someone leaves the hall. As a result, the final mess bill has these old users (like Y16s) as well, although with zero mess dues for them. This also unnecessarily clogs the database.

Solution: We need to write a script that will auto-delete any account that has been inactive for over 100 days. Also, at 90 days of inactivity, we should email the user with a warning mail that their account will get removed if they do not use it for booking some extras in the next 10 days.

@abdatta abdatta added good first issue Good for newcomers backend Requires work in the Node.js backend. labels Oct 22, 2019
@vsaurabh04 vsaurabh04 self-assigned this Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires work in the Node.js backend. good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants