feat: docs: rm_unverified_users cronjob

master
Aravinth Manivannan 1 year ago
parent 8bcc6a390b
commit a197422f6a
Signed by untrusted user: realaravinth
GPG Key ID: AD9F0F08E855ED88

@ -0,0 +1,22 @@
# Installation instructions
## Cron jobs
Run cron job at an interval of your choosing with the following comamnd:
```bash
python manage.py rm_unverified_users
```
It will delete all users that are below maximum tolerated duration
unverified users, as configured in settings.py:
```python
HOSTEA = {
# <--snip--->
"ACCOUNTS": {"MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24}, # in seconds
}
```
In future, the cronjob will be run as part of the Hostea/Dashbaord and
hence the current redundancy in configuration and cronjob duration.
Loading…
Cancel
Save