Housekeeping for Allianceauth Celery Analytics
Project description
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),
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for allianceauth-celeryanalytics-housekeeping-0.0.1a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0df2b64cbcdbcded1733f1c7702f859e14b95feaf1e6c8f61e0e6c28b67f6ec |
|
MD5 | eb4a157ee54ad6ab70e99cb0b58b64f7 |
|
BLAKE2b-256 | 83d55d57b947c4315cd0be6d1a2884d521fbbee26f923a70e436adda59db0470 |
Close
Hashes for allianceauth_celeryanalytics_housekeeping-0.0.1a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f1b74bc29c2355f7f1f6210a57954572b78d02e9166cd548d45916721c118b |
|
MD5 | c8d79a4a650c6c5600d627d5e2460de2 |
|
BLAKE2b-256 | 4cde86a4991b4548b1326b109a6d8116cbdc60448d1f4bff71ce69c4d81b309a |