core icon indicating copy to clipboard operation
core copied to clipboard

Workflow EscalationThread needs to be a stateful quartz job

Open wezell opened this issue 11 years ago • 6 comments

It is currently running on all servers and only needs to be run on one in a cluster.

wezell avatar May 08 '15 15:05 wezell

@oarrietadotcms this is easy just alter the interface. Pretty safe change.

jtesser avatar May 19 '15 11:05 jtesser

PR: https://github.com/dotCMS/core/pull/7758

oarrietadotcms avatar May 19 '15 16:05 oarrietadotcms

I replaced property with ESCALATION_CHECK_INTERVAL_SECS with ESCALATION_CHECK_INTERVAL_CRON, now it uses a cron exp, just like the other Quartz Jobs.

Documentation needs to be updated here: http://dotcms.com/docs/latest/ScheduledEnabledWorkflow

oarrietadotcms avatar May 19 '15 19:05 oarrietadotcms

Tested on: 3.2 Nightly build 2015-05-19 19:53// Ubuntu 14.04 // Postgres // Firefox

shaydotcms avatar May 20 '15 16:05 shaydotcms

Test case http://qa.dotcms.com/index.php?/cases/view/429

shaydotcms avatar Jun 10 '15 20:06 shaydotcms

documented: http://dotcms.com/docs/latest/scheduled-enabled-workflow

DeanGonzalez avatar Jul 02 '15 21:07 DeanGonzalez