Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 52A77200D2D for ; Fri, 27 Oct 2017 13:13:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5132D160BF4; Fri, 27 Oct 2017 11:13:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A0CBF1609E9 for ; Fri, 27 Oct 2017 13:13:10 +0200 (CEST) Received: (qmail 49941 invoked by uid 500); 27 Oct 2017 11:13:09 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 49930 invoked by uid 99); 27 Oct 2017 11:13:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2017 11:13:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A5514180892 for ; Fri, 27 Oct 2017 11:13:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id x4EAZquUHUvp for ; Fri, 27 Oct 2017 11:13:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 082215FDAB for ; Fri, 27 Oct 2017 11:13:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 101AEE0D50 for ; Fri, 27 Oct 2017 11:13:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 670FD212FC for ; Fri, 27 Oct 2017 11:13:02 +0000 (UTC) Date: Fri, 27 Oct 2017 11:13:02 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SLING-7197) Completed Scheduled Jobs are not getting fetched MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 27 Oct 2017 11:13:11 -0000 [ https://issues.apache.org/jira/browse/SLING-7197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222181#comment-16222181 ] 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-339943489 @cziegeler Can you please review and provide feedback, ---------------------------------------------------------------- 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)