sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-7197) Completed Scheduled Jobs are not getting fetched
Date Tue, 31 Oct 2017 04:36:00 GMT

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

ASF GitHub Bot commented on SLING-7197:
---------------------------------------

prafulVaishnav commented on issue #1: SLING-7197 Completed Scheduled Jobs are not getting
fetched.
URL: https://github.com/apache/sling-org-apache-sling-event/pull/1#issuecomment-340657562
 
 
   @cziegeler Can you plese merge this PR if everything right.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Completed Scheduled Jobs are not getting fetched
> ------------------------------------------------
>
>                 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
>             Fix For: Event 4.2.10
>
>
> 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)

Mime
View raw message