Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cron task for KPI and KoBoCAT cleanup jobs #253

Closed
jnm opened this issue Sep 19, 2019 · 1 comment · May be fixed by kobotoolbox/kobocat#579 or kobotoolbox/kpi#2434
Closed

Add cron task for KPI and KoBoCAT cleanup jobs #253

jnm opened this issue Sep 19, 2019 · 1 comment · May be fixed by kobotoolbox/kobocat#579 or kobotoolbox/kpi#2434
Assignees

Comments

@jnm
Copy link
Member

jnm commented Sep 19, 2019

Yep, I would run delete_revisions, delete_import_task, delete_asset_snapshot every night too (at least every week) with --vacuum. Now, it's gonna be very long to catch up. As --vacuum doesn't lock the DB.

https://www.flowdock.com/app/kobotoolbox/servers/threads/oKEKcVKslqu_T3RFrvrlJ9DB-G7

@noliveleger
Copy link
Contributor

I changed my mind about using ubuntu cron. It's more user-friendly to add them celery periodic tasks which can be controlled from the Django admin interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants