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.1a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a93bbb37ce40c01daec83989d29b7e143e2a7c508ce019913bc7f529efdc47ef |
|
MD5 | e272ea1f116ed6799a483643927741ab |
|
BLAKE2b-256 | d373053045e513f920c5da76de7be2a085efd7e8d0626a6a71c11088d905bc25 |
Close
Hashes for allianceauth_celeryanalytics_housekeeping-0.0.1a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e04e184684d05efe7cd09418a621e3b0bff3b5264b2f95b77129b9ac1633f5 |
|
MD5 | f9aec40514b97164e5c5bb557af97751 |
|
BLAKE2b-256 | c8097f0f0e7cedfa757c6551495c26322b241ff287832faf8ed0f02349a2db97 |