Housekeeping for Allianceauth Celery Analytics
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file allianceauth-celeryanalytics-housekeeping-0.0.1a4.tar.gz.
File metadata
- Download URL: allianceauth-celeryanalytics-housekeeping-0.0.1a4.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0df2b64cbcdbcded1733f1c7702f859e14b95feaf1e6c8f61e0e6c28b67f6ec
|
|
| MD5 |
eb4a157ee54ad6ab70e99cb0b58b64f7
|
|
| BLAKE2b-256 |
83d55d57b947c4315cd0be6d1a2884d521fbbee26f923a70e436adda59db0470
|
File details
Details for the file allianceauth_celeryanalytics_housekeeping-0.0.1a4-py3-none-any.whl.
File metadata
- Download URL: allianceauth_celeryanalytics_housekeeping-0.0.1a4-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7f1b74bc29c2355f7f1f6210a57954572b78d02e9166cd548d45916721c118b
|
|
| MD5 |
c8d79a4a650c6c5600d627d5e2460de2
|
|
| BLAKE2b-256 |
4cde86a4991b4548b1326b109a6d8116cbdc60448d1f4bff71ce69c4d81b309a
|