Explorar o código

crontab fixes

Juan Carlos %!s(int64=5) %!d(string=hai) anos
pai
achega
5e0796a967
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      project_base/settings.py

+ 1 - 1
project_base/settings.py

@@ -258,7 +258,7 @@ NEWSLETTER_BATCH_SIZE = 100
 
 CRONJOBS = [
     ('*/5 * * * *', 'django.core.management.call_command', ['submit_newsletter', ], '>   /dev/null 2>&1' ), #> /dev/null 2>&1
-    ('* * * * *', 'django.core.management.call_command', ['send_queued_mail'], '> /dev/null 2>&1'),
+    ('*/5 * * * *', 'django.core.management.call_command', ['send_queued_mail'], ), #'> /dev/null 2>&1'
 ]
 
 CRISPY_TEMPLATE_PACK = 'bootstrap4'