<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Nuxeo LTS 2023 and SchedulerService in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489359#M15813</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In LTS 2023, I am trying to fire an event every 5 minutes in Nuxeo. I have the following in the OSGI-INF directory.&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;BR /&gt;&amp;lt;component name="com.ins2.rgp.schedulers"&amp;gt;&lt;BR /&gt;&amp;lt;extension target="org.nuxeo.ecm.core.scheduler.SchedulerService" point="schedule"&amp;gt;&lt;BR /&gt;&amp;lt;schedule id="workdaysyncevent" enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;eventId&amp;gt;workdaysyncevent&amp;lt;/eventId&amp;gt;&lt;BR /&gt;&amp;lt;eventCategory&amp;gt;default&amp;lt;/eventCategory&amp;gt;&lt;BR /&gt;&amp;lt;cronExpression&amp;gt;0 0/5 * ? * *&amp;lt;/cronExpression&amp;gt;&lt;BR /&gt;&amp;lt;/schedule&amp;gt;&lt;BR /&gt;&amp;lt;/extension&amp;gt;&lt;BR /&gt;&amp;lt;/component&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the MANIFEST.MF file I have the following entry&lt;/P&gt;&lt;P&gt;OSGI-INF/workdaysync-scheduler.xml&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But the event does not seem to get fired at all.&amp;nbsp; What else am I missing?&amp;nbsp; How can I troubleshoot this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SG&lt;/P&gt;</description>
    <pubDate>Mon, 28 Apr 2025 19:29:04 GMT</pubDate>
    <dc:creator>Sudarshan_Ghate</dc:creator>
    <dc:date>2025-04-28T19:29:04Z</dc:date>
    <item>
      <title>Nuxeo LTS 2023 and SchedulerService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489359#M15813</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In LTS 2023, I am trying to fire an event every 5 minutes in Nuxeo. I have the following in the OSGI-INF directory.&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;BR /&gt;&amp;lt;component name="com.ins2.rgp.schedulers"&amp;gt;&lt;BR /&gt;&amp;lt;extension target="org.nuxeo.ecm.core.scheduler.SchedulerService" point="schedule"&amp;gt;&lt;BR /&gt;&amp;lt;schedule id="workdaysyncevent" enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;eventId&amp;gt;workdaysyncevent&amp;lt;/eventId&amp;gt;&lt;BR /&gt;&amp;lt;eventCategory&amp;gt;default&amp;lt;/eventCategory&amp;gt;&lt;BR /&gt;&amp;lt;cronExpression&amp;gt;0 0/5 * ? * *&amp;lt;/cronExpression&amp;gt;&lt;BR /&gt;&amp;lt;/schedule&amp;gt;&lt;BR /&gt;&amp;lt;/extension&amp;gt;&lt;BR /&gt;&amp;lt;/component&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the MANIFEST.MF file I have the following entry&lt;/P&gt;&lt;P&gt;OSGI-INF/workdaysync-scheduler.xml&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But the event does not seem to get fired at all.&amp;nbsp; What else am I missing?&amp;nbsp; How can I troubleshoot this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SG&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 19:29:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489359#M15813</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2025-04-28T19:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo LTS 2023 and SchedulerService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489361#M15814</link>
      <description>&lt;P&gt;It's unclear to me if you're trying to build a &lt;A href="https://doc.nuxeo.com/n/ETk" target="_self"&gt;Nuxeo Package&lt;/A&gt; or just trying to deploy loose files. If it's the former, check out the doc link and also take a look at &lt;A href="https://doc.nuxeo.com/n/lcB" target="_self"&gt;Nuxeo CLI&lt;/A&gt;. If it's the latter I think you're going to struggle. There are a few things that I have seen that can be managed via loose files but this is really just a bad habit that's better to eliminate ASAP. It's not sustainable.&lt;/P&gt;&lt;P&gt;Ideally, for something this simple, you should just add the Scheduler contribution in &lt;A href="https://doc.nuxeo.com/n/22q#contributing-using-nuxeo-studio" target="_self"&gt;Nuxeo Studio&lt;/A&gt;. Note that you can define the event in Studio as well using the &lt;A href="https://doc.nuxeo.com/n/u5c" target="_self"&gt;Registry&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 21:04:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489361#M15814</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-04-28T21:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo LTS 2023 and SchedulerService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489365#M15815</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; I am using the Nuxeo CLI to build the Nuxeo package.&amp;nbsp; I have bootstrapped the Event listener was trying to trigger the event using XML Extension in Nuxeo Studio to test some piece of code every 5 minutes but that did not work.&amp;nbsp; I was using following instructions&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.nuxeo.com/studio/scheduling-periodic-events/" target="_blank"&gt;https://doc.nuxeo.com/studio/scheduling-periodic-events/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I noticed that this is using the &lt;SPAN&gt;org.nuxeo.ecm.core.scheduler.SchedulerService whereas the example you gave is using&amp;nbsp;org.nuxeo.ecm.core.scheduler.&lt;/SPAN&gt;ScheduleRegistryService.&amp;nbsp; What is the distinction between the two?&lt;/P&gt;&lt;P&gt;I ended up moving the contribution to the code repo.&amp;nbsp; I think in my XML I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;eventId&amp;gt;workdaysyncevent&amp;lt;/eventId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;eventCategory&amp;gt;default&amp;lt;/eventCategory&amp;gt; it does not work but the following seems to work?&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;event&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;workdaysyncevent&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;event&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I appreciate the feedback !&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 23:32:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489365#M15815</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2025-04-28T23:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo LTS 2023 and SchedulerService</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489373#M15816</link>
      <description>&lt;P&gt;Escalation is a &lt;A href="https://doc.nuxeo.com/nxdoc/escalation-service/" target="_self"&gt;Workflow feature&lt;/A&gt;&amp;nbsp;so not related to what you want to do.&lt;/P&gt;&lt;P&gt;It would be interesting to know if your event is being fired it's just that the event handler isn't called. I don't know of a great way to check that though other than debugging &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; You could try creating an Event Handler in Studio. There's a small chance that Nuxeo CLI didn't generate valid code/config.&lt;/P&gt;&lt;P&gt;I have always used eventId but I see &lt;A href="https://explorer.nuxeo.com/nuxeo/site/distribution/latest/viewExtensionPoint/org.nuxeo.ecm.core.scheduler.SchedulerService--schedule" target="_self"&gt;examples of both&lt;/A&gt; in the existing contribs. I'm not sure of the difference but it would appear both should work.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 02:35:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-lts-2023-and-schedulerservice/m-p/489373#M15816</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-04-29T02:35:07Z</dc:date>
    </item>
  </channel>
</rss>

