You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Kristof Vanbecelaere (JIRA)" <ji...@apache.org> on 2018/07/04 14:17:01 UTC

[jira] [Updated] (SLING-7762) Sling jobs scheduled by date do not disappear from scheduledJobs map

     [ https://issues.apache.org/jira/browse/SLING-7762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristof Vanbecelaere updated SLING-7762:
----------------------------------------
    Description: 
We are using

Adobe Experience Manager (6.3.1.2)

which has bundle Apache Sling Event Support (org.apache.sling.event) 4.2.0.

We are using jobs scheduled by date. They execute and are removed from the repository but they remain listed in the sling event console under scheduled jobs. It looks like the jobs get executed after every deploy of our sites.

After restarting the instance the jobs are gone from the console as well.

I looked at [https://github.com/apache/sling-org-apache-sling-event/blob/3d52d446e73bfae5043fe18be383ccc540660214/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java#L305]

Could it be that a line is missing to also remove the job from the scheduledJobs map? Or am I missing something?

  was:
We are using

Adobe Experience Manager (6.3.1.2)

which has bundle Apache Sling Event Support (org.apache.sling.event) 4.2.0.

We are using jobs scheduled by date. They execute and are removed from the repository but they remain listed in the sling event console under scheduled jobs.

I looked at [https://github.com/apache/sling-org-apache-sling-event/blob/3d52d446e73bfae5043fe18be383ccc540660214/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java#L305]

Could it be that a line is missing to also remove the job from the scheduledJobs map? Or am I missing something?


> Sling jobs scheduled by date do not disappear from scheduledJobs map
> --------------------------------------------------------------------
>
>                 Key: SLING-7762
>                 URL: https://issues.apache.org/jira/browse/SLING-7762
>             Project: Sling
>          Issue Type: Bug
>          Components: Event
>    Affects Versions: Event 4.2.0
>            Reporter: Kristof Vanbecelaere
>            Priority: Major
>
> We are using
> Adobe Experience Manager (6.3.1.2)
> which has bundle Apache Sling Event Support (org.apache.sling.event) 4.2.0.
> We are using jobs scheduled by date. They execute and are removed from the repository but they remain listed in the sling event console under scheduled jobs. It looks like the jobs get executed after every deploy of our sites.
> After restarting the instance the jobs are gone from the console as well.
> I looked at [https://github.com/apache/sling-org-apache-sling-event/blob/3d52d446e73bfae5043fe18be383ccc540660214/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java#L305]
> Could it be that a line is missing to also remove the job from the scheduledJobs map? Or am I missing something?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)