Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Create a clean unused users cron #6

Open
FreekMencke opened this issue Jan 31, 2019 · 0 comments
Open

Create a clean unused users cron #6

FreekMencke opened this issue Jan 31, 2019 · 0 comments
Labels
Enhancement Improvements to existing features Feature Adds a new feature Important Extra attention is needed

Comments

@FreekMencke
Copy link
Member

Check every night if there are players that haven't been checked for at least 3 months, and delete them.

DELETE FROM `osrs-tracker`.Player
WHERE lastChecked < 'Three months ago'
AND id > 0
@FreekMencke FreekMencke added Enhancement Improvements to existing features Feature Adds a new feature Important Extra attention is needed labels Jan 31, 2019
@FreekMencke FreekMencke added this to the v0.1.0 milestone Jan 31, 2019
@FreekMencke FreekMencke changed the title Create a clean cron Create a clean unused users cron Mar 19, 2019
@FreekMencke FreekMencke removed this from the v0.1.0 milestone Apr 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement Improvements to existing features Feature Adds a new feature Important Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant