Praful Vaishnav created SLING-7197:
--------------------------------------

             Summary: API support to get completed Scheduled Job
                 Key: SLING-7197
                 URL: https://issues.apache.org/jira/browse/SLING-7197
             Project: Sling
          Issue Type: Bug
          Components: API
    Affects Versions: Event 4.2.8
            Reporter: Praful Vaishnav


Scheuled jobs are created as _slingevent:TimedEvent_ under path 
_/var/eventing/scheduled-jobs_. When these jobs execution are complete, they 
are moved under /var/eventing/jobs/finished. Prior to completion, we can get 
scheduled jobs using [this API |  
https://sling.apache.org/apidocs/sling7/org/apache/sling/event/jobs/JobManager.html#getScheduledJobs-java.lang.String-long-java.util.Map...-
 ]. But I could not find any API to get scheduled jobs which are completed. 
[This API | 
https://sling.apache.org/apidocs/sling7/org/apache/sling/event/jobs/JobManager.html#findJobs-org.apache.sling.event.jobs.JobManager.QueryType-java.lang.String-long-java.util.Map...-]
 returns only jobs of type _slingevent:Job_



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to