From 62e3cd13dae2ea34ad2fbab88e757ffb4d0e09ae Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 1 Oct 2024 21:28:24 +0100 Subject: [PATCH] Prune DB task results --- etc/crontab | 1 + requirements.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/crontab b/etc/crontab index f89adb1..e5a20eb 100644 --- a/etc/crontab +++ b/etc/crontab @@ -3,4 +3,5 @@ @daily ./manage.py update_unsplash_photos @daily ./manage.py rebuild_references_index @weekly ./manage.py refresh_spotify_playlists +@weekly ./manage.py prune_db_task_results */10 * * * * ./manage.py publish_scheduled_pages diff --git a/requirements.txt b/requirements.txt index 4ce16ee..7ce6946 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,7 +28,7 @@ django-proxy==1.2.2 wagtail-lite-youtube-embed==0.1.0 django-minify-html==1.7.1 metadata-parser==0.12.1 -django-tasks==0.3.0 +django-tasks==0.5.0 lightningcss==0.2.0 # DRF OpenAPI dependencies