diff --git a/cron4plone.cfg b/cron4plone.cfg deleted file mode 100644 index da36695..0000000 --- a/cron4plone.cfg +++ /dev/null @@ -1,27 +0,0 @@ -[buildout] -parts += - instance-cron - -[instance1] -eggs += - Products.cron4plone - -[instance-cron] -<= instance1 -zodb-cache-size = ${port:zodb-cache-size} -zserver-threads = 1 -http-address = ${port:instance-cron-http} -zope-conf-additional = - - bind 0.0.0.0:${port:instance-cron-monitor} - - ${zope-conf:additional} - - method /${port:plone-path}/@@cron-tick - period 60 - user admin - password ${port:admin-password} - - -[versions] -Products.cron4plone = 1.1.11 diff --git a/dev.cfg b/dev.cfg index 20e3738..2890274 100644 --- a/dev.cfg +++ b/dev.cfg @@ -6,7 +6,6 @@ allow-picked-versions = true parts += instance-amqp - instance-cron ipzope upgrade cmds @@ -91,7 +90,6 @@ eggs += Products.PrintingMailHost collective.wfautodoc plone.app.workflowmanager - Products.cron4plone wildcard.fixpersistentutilities zcml += @@ -121,15 +119,9 @@ zcml = imio.zamqp.dms http-address = ${port:instance-amqp-http} zope-conf-additional = - ${instance1:zope-conf-additional} + %define FILESTORAGE ${buildout:directory}/var/filestorage + %define BLOBSTORAGE ${buildout:directory}/var/blobstorage ${zope-conf:amqp} - -[instance-cron] -<= instance1 -zserver-threads = 1 -http-address = ${port:instance-cron-http} -zope-conf-additional = - ${instance1:zope-conf-additional} method /${port:plone-path}/@@cron-tick period 60 diff --git a/port.cfg b/port.cfg index f9818cd..beb1d0d 100644 --- a/port.cfg +++ b/port.cfg @@ -5,7 +5,6 @@ instance3-http = 8083 instance4-http = 8084 instance-amqp-http = 8085 instance-async-http = 8086 -instance-cron-http = 8087 instance-debug-http = 8089 zeo = 8080 zeo-monitor = 8180 @@ -15,7 +14,6 @@ instance3-monitor = 8183 instance4-monitor = 8184 instance-amqp-monitor = 8185 instance-async-monitor = 8186 -instance-cron-monitor = 8187 instance-debug-monitor = 8189 plone-path = admin-password = admin diff --git a/prod.cfg b/prod.cfg index 1a3d09e..6576fa5 100644 --- a/prod.cfg +++ b/prod.cfg @@ -51,6 +51,13 @@ zope-conf-additional = bind 0.0.0.0:${port:instance1-monitor} ${zope-conf:additional} + + method /${port:plone-path}/@@cron-tick + period 60 + user admin + password ${port:admin-password} + + zcml-additional = event-log-custom =