You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Praful Vaishnav (JIRA)" <ji...@apache.org> on 2017/10/23 10:00:05 UTC

[jira] [Commented] (SLING-7197) API support to get completed Scheduled Job

    [ https://issues.apache.org/jira/browse/SLING-7197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214911#comment-16214911 ] 

Praful Vaishnav commented on SLING-7197:
----------------------------------------

[~cziegeler] Can you please look into this.

> 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 path `/var/eventing/jobs/finished`. Prior to completion, we can get scheduled jobs using [API JobManager.getScheduledJobs|  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. [API JobManager.findJobs| 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)