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
File details
Details for the file allianceauth-celeryanalytics-housekeeping-0.0.1a3.tar.gz
.
File metadata
- Download URL: allianceauth-celeryanalytics-housekeeping-0.0.1a3.tar.gz
- Upload date:
- Size: 16.0 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 | a93bbb37ce40c01daec83989d29b7e143e2a7c508ce019913bc7f529efdc47ef |
|
MD5 | e272ea1f116ed6799a483643927741ab |
|
BLAKE2b-256 | d373053045e513f920c5da76de7be2a085efd7e8d0626a6a71c11088d905bc25 |
File details
Details for the file allianceauth_celeryanalytics_housekeeping-0.0.1a3-py3-none-any.whl
.
File metadata
- Download URL: allianceauth_celeryanalytics_housekeeping-0.0.1a3-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 | 36e04e184684d05efe7cd09418a621e3b0bff3b5264b2f95b77129b9ac1633f5 |
|
MD5 | f9aec40514b97164e5c5bb557af97751 |
|
BLAKE2b-256 | c8097f0f0e7cedfa757c6551495c26322b241ff287832faf8ed0f02349a2db97 |