Browse Source

Cambio para ejecutar el task que envia los reportes programados 20 veces a las 9 horas

Tomás Ponce Gessi 2 years ago
parent
commit
cd9cb62d55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/preports/settings.py

+ 1 - 1
app/preports/settings.py

@@ -141,7 +141,7 @@ REST_FRAMEWORK = {
 CLIMA_URL = os.getenv("CLIMA_URL")
 
 CRONJOBS = [
-    ('2 9 * * *', 'api.tasks.send_programmed_reports_task')
+    ('*/3 9 * * *', 'api.tasks.send_programmed_reports_task')
 ]
 
 PROGRAMMED_REPORTS_SERVICE_AUTH_TOKEN = os.getenv("PROGRAMMED_REPORTS_SERVICE_AUTH_TOKEN")