cancel
Showing results for 
Search instead for 
Did you mean: 

How disable scheduled task orphanVersionsCleanup

pnux_
Confirmed Champ
Confirmed Champ

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...

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.

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

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.

View answer in original post

2 REPLIES 2

Florent_Guillau
World-Class Innovator
World-Class Innovator

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.

Thank you very much !

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.