<?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 How to delete an scheduled job in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-delete-an-scheduled-job/m-p/320916#M7917</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am working with Quartz, using some functions of ScheduleRegistryService, but instead of using contribution objects, I make my own Schedule object.&lt;/P&gt;
&lt;P&gt;I am able to schedule job. It launches my event, and my listener captures it and shows my logs. But I am having problems deleting these jobs, and events continue firing and listener writing logs...&lt;/P&gt;
&lt;P&gt;The code to delete the job is very simple, and the same of ScheduleRegistryService:&lt;/P&gt;
&lt;P&gt;private void pararScheduler(String scheduleId){
LOG.info("Borrando tarea programada con id:" + scheduleId);
try {
scheduler.deleteJob(scheduleId, GRUPO_TRIGGERS_RM);
} catch (SchedulerException e) {
LOG.error(String.format("Falló el borrado del trigger con '%s': %s",
scheduleId, e.getMessage()), e);
}
}&lt;/P&gt;
&lt;P&gt;I have printed schedule Id and group name, just when I schedule job and also when I delete job, and it shows the same values...&lt;/P&gt;
&lt;P&gt;Could any one help me? I am using version 5.4.2 of Nuxeo.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2013 13:19:42 GMT</pubDate>
    <dc:creator>franciscogonzal</dc:creator>
    <dc:date>2013-09-20T13:19:42Z</dc:date>
    <item>
      <title>How to delete an scheduled job</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-delete-an-scheduled-job/m-p/320916#M7917</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am working with Quartz, using some functions of ScheduleRegistryService, but instead of using contribution objects, I make my own Schedule object.&lt;/P&gt;
&lt;P&gt;I am able to schedule job. It launches my event, and my listener captures it and shows my logs. But I am having problems deleting these jobs, and events continue firing and listener writing logs...&lt;/P&gt;
&lt;P&gt;The code to delete the job is very simple, and the same of ScheduleRegistryService:&lt;/P&gt;
&lt;P&gt;private void pararScheduler(String scheduleId){
LOG.info("Borrando tarea programada con id:" + scheduleId);
try {
scheduler.deleteJob(scheduleId, GRUPO_TRIGGERS_RM);
} catch (SchedulerException e) {
LOG.error(String.format("Falló el borrado del trigger con '%s': %s",
scheduleId, e.getMessage()), e);
}
}&lt;/P&gt;
&lt;P&gt;I have printed schedule Id and group name, just when I schedule job and also when I delete job, and it shows the same values...&lt;/P&gt;
&lt;P&gt;Could any one help me? I am using version 5.4.2 of Nuxeo.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2013 13:19:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-delete-an-scheduled-job/m-p/320916#M7917</guid>
      <dc:creator>franciscogonzal</dc:creator>
      <dc:date>2013-09-20T13:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete an scheduled job</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-delete-an-scheduled-job/m-p/320917#M7918</link>
      <description>&lt;P&gt;Sorry, I found my mistake. When I created JobDetail I did not write the correct group.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2013 13:38:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-delete-an-scheduled-job/m-p/320917#M7918</guid>
      <dc:creator>franciscogonzal</dc:creator>
      <dc:date>2013-09-20T13:38:18Z</dc:date>
    </item>
  </channel>
</rss>

