From 0e0f52e71af1ca73e4490c08a225b48ee53aa811 Mon Sep 17 00:00:00 2001 From: Irwan Fathurrahman Date: Wed, 8 May 2024 11:50:04 +0700 Subject: [PATCH] Fix clean download file beat task (#691) --- deployment/.env | 2 +- django_project/core/settings/base.py | 2 +- django_project/gwml2 | 2 +- django_project/version/version.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment/.env b/deployment/.env index ea49860..0faa43e 100644 --- a/deployment/.env +++ b/deployment/.env @@ -248,7 +248,7 @@ PYTHONPATH=/home/web/django_project:/geonode USE_DEFAULT_GEOSERVER_STYLE=False INITIAL_FIXTURES=True -VERSION=4.5.0 +VERSION=4.5.1 ISTSOS_VERSION=2.4.1-4 # ------ GEOSERVER ------ diff --git a/django_project/core/settings/base.py b/django_project/core/settings/base.py index 9d2b4b5..95a6707 100644 --- a/django_project/core/settings/base.py +++ b/django_project/core/settings/base.py @@ -175,7 +175,7 @@ } CELERY_BEAT_SCHEDULE['clean_download_file'] = { 'task': 'gwml2.tasks.clean.clean_download_file', - 'schedule': crontab(hour=0), + 'schedule': crontab(hour='*/1'), } GWML2_FOLDER = os.getenv( diff --git a/django_project/gwml2 b/django_project/gwml2 index e81d1e7..5f17636 160000 --- a/django_project/gwml2 +++ b/django_project/gwml2 @@ -1 +1 @@ -Subproject commit e81d1e7e9dbcc57885556aeb7e871008dabc5898 +Subproject commit 5f17636c95c57cc8044594745d2cf69bc5c0bb1a diff --git a/django_project/version/version.txt b/django_project/version/version.txt index ae15394..99523d4 100644 --- a/django_project/version/version.txt +++ b/django_project/version/version.txt @@ -1 +1 @@ -4.5.0 \ No newline at end of file +4.5.1 \ No newline at end of file