twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Update script to clean inactive workspaces

Open FelixMalfait opened this issue 4 months ago • 0 comments

We had built a script to clean inactive workspaces StartCleanInactiveWorkspacesCronCommand

Looking at object updates is not the right criteria because it can be performed automatically, for example if I connect a gmail account then it will look like the account is active when it's not.

Instead we should use the analytics data as a source of truth, and send a first warning email if there's been no activity for 2 weeks. Then delete it the third week if there still isn't any activity. Of cours paying workspace shouldn't be deleted even if they're inactive.

FelixMalfait avatar Oct 23 '24 14:10 FelixMalfait