From 91fee71d2c27b7e21b7e3a46baac0630b386bf7c Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Thu, 5 Dec 2024 17:08:43 +0530 Subject: [PATCH] [docs] Updated radius monitoring docs to include celerybeat schedule --- docs/user/radius_monitoring.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/user/radius_monitoring.rst b/docs/user/radius_monitoring.rst index 7f80f0af..19775548 100644 --- a/docs/user/radius_monitoring.rst +++ b/docs/user/radius_monitoring.rst @@ -62,6 +62,16 @@ Django project's settings as following: # In your_project/settings.py INSTALLED_APPS.append("openwisp_radius.integrations.monitoring") + CELERY_BEAT_SCHEDULE.update( + { + "write_user_registration_metrics": { + "task": "openwisp_radius.integrations.monitoring.tasks.write_user_registration_metrics", + "schedule": timedelta(hours=1), + "args": None, + "relative": True, + } + } + ) .. note::