0 purchases
allianceauthceleryanalyticshousekeeping 0.0.1a4
Alliance Auth Celery Analytics Housekeeping
Housekeeping for Alliance Auth Celery Analytics
pip install allianceauth-celeryanalytics-housekeeping
In local.py add celeryanalytics_housekeeping to your INSTALLED_APPS.
Also add the following:
## AA Celery Analytics Housekeeping
if (
"celeryanalytics" in INSTALLED_APPS
and "celeryanalytics_housekeeping" in INSTALLED_APPS
):
# Keep 10 days (default)
CELERYANALYTICS_HOUSEKEEPING_DB_BACKLOG = 10
# Run every hour
CELERYBEAT_SCHEDULE["celeryanalytics_housekeeping.tasks.run_housekeeping"] = {
"task": "celeryanalytics_housekeeping.tasks.run_housekeeping",
"schedule": crontab(minute=0, hour=0),
}
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.