Skip to content

Commit

Permalink
Added cron4plone zope config
Browse files Browse the repository at this point in the history
  • Loading branch information
sgeulette committed Oct 21, 2021
1 parent b59cd74 commit e1ab2af
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 39 deletions.
27 changes: 0 additions & 27 deletions cron4plone.cfg

This file was deleted.

12 changes: 2 additions & 10 deletions dev.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ allow-picked-versions = true

parts +=
instance-amqp
instance-cron
ipzope
upgrade
cmds
Expand Down Expand Up @@ -91,7 +90,6 @@ eggs +=
Products.PrintingMailHost
collective.wfautodoc
plone.app.workflowmanager
Products.cron4plone
wildcard.fixpersistentutilities

zcml +=
Expand Down Expand Up @@ -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}
<clock-server>
method /${port:plone-path}/@@cron-tick
period 60
Expand Down
2 changes: 0 additions & 2 deletions port.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 7 additions & 0 deletions prod.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ zope-conf-additional =
bind 0.0.0.0:${port:instance1-monitor}
</product-config>
${zope-conf:additional}
<clock-server>
method /${port:plone-path}/@@cron-tick
period 60
user admin
password ${port:admin-password}
</clock-server>

zcml-additional =
<include package="plone.app.async" file="multi_db_instance.zcml" />
event-log-custom =
Expand Down

0 comments on commit e1ab2af

Please sign in to comment.