Explorar el Código

crontab activated & muted

Juan Carlos hace 5 años
padre
commit
5218d97899
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      project_base/settings.py

+ 3 - 3
project_base/settings.py

@@ -254,9 +254,9 @@ NEWSLETTER_BATCH_DELAY = 60
 NEWSLETTER_BATCH_SIZE = 100
 
 
-# CRONJOBS = [
-#     ('*/1 * * * *', 'django.core.management.call_command', ['submit_newsletter', ], { '-v' : '3'}, ''), #> /dev/null 2>&1
-# ]
+CRONJOBS = [
+    ('*/5 * * * *', 'django.core.management.call_command', ['submit_newsletter', ], '> /dev/null 2>&1' ), #> /dev/null 2>&1
+]
 
 CRISPY_TEMPLATE_PACK = 'bootstrap4'