How disable scheduled task orphanVersionsCleanup

Hi,

I use nuxeo LTS 2019 (10.10). I would like to disable the scheduled task “orphanVersionsCleanup” but i don't know how to do it

I have found the extension point for the contribution: http://explorer.nuxeo.com/nuxeo/site/distribution/server-10.10/viewExtensionPoint/org.nuxeo.ecm.core.scheduler.SchedulerService--schedule

and the documentation : https://doc.nuxeo.com/nxdoc/scheduling-periodic-events/

Can i remove the cronExpression to disable the service ?

Or i write an “impossible cron expression” (32 January) like `<cronExpression>0 0 0 32 1 ?</cronExpression>`

Thank you.

0 votes

1 answers

51 views

ANSWER



You can use

<schedule id="orphanVersionsCleanup" enabled="false" />

I'm not sure why this isn't in the doc, but it's supported and works.

1 votes



Thank you very much !
10/07/2019