]> git.parisson.com Git - mezzo.git/commitdiff
Cron push rule applied at 6h periods only
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 25 Aug 2016 10:40:23 +0000 (12:40 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 25 Aug 2016 10:40:23 +0000 (12:40 +0200)
app/organization/pages/forms.py
install.py
lib/mezzanine-agenda

index 12be7870f0c5f14116c08396c8231cc94fb963d6..fca71ef515377fca4e419237252442f868f0ae54 100644 (file)
@@ -8,6 +8,7 @@ from organization.pages.models import CustomPage
 # from mezzanine_agenda.models import Event
 from organization.pages.models import DynamicContentHomeSlider, DynamicContentHomeBody
 
+
 class DynamicContentHomeSliderForm(autocomplete.FutureModelForm):
 
     content_object = dal_queryset_sequence.fields.QuerySetSequenceModelField(
@@ -26,8 +27,6 @@ class DynamicContentHomeSliderForm(autocomplete.FutureModelForm):
         fields = ('content_object',)
 
 
-
-
 class DynamicContentHomeBodyForm(autocomplete.FutureModelForm):
 
     content_object = dal_queryset_sequence.fields.QuerySetSequenceModelField(
index d5db0bf387dccc33a59004f9b9c899096d540439..18fc349d4ad80950ac5d8b3d4e7cedcba143b325 100755 (executable)
@@ -103,7 +103,7 @@ class DockerCompositionInstaller(object):
 
     docker = '/etc/init.d/docker'
     docker_compose = '/usr/local/bin/docker-compose'
-    cron_rule = "* * * * * %s %s"
+    cron_rule = "* */6 * * * %s %s"
 
     def __init__(self, config='docker-compose.yml', init_type='sysvinit', cron=False, user=None):
         self.init_type = init_type
index 110063bdfed543121c0c1d80c9c8bee74933e6b9..3a5ba723573897568f1ca86eabbeeff47cde57d6 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 110063bdfed543121c0c1d80c9c8bee74933e6b9
+Subproject commit 3a5ba723573897568f1ca86eabbeeff47cde57d6