Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A6F2C5A0 for ; Thu, 11 Dec 2014 23:25:13 +0000 (UTC) Received: (qmail 90675 invoked by uid 500); 11 Dec 2014 23:25:13 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 90622 invoked by uid 500); 11 Dec 2014 23:25:13 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 90609 invoked by uid 99); 11 Dec 2014 23:25:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 23:25:13 +0000 Date: Thu, 11 Dec 2014 23:25:13 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1119) Notifications on job completion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14243341#comment-14243341 ] Karl Wright commented on CONNECTORS-1119: ----------------------------------------- Hi Colin, You could certainly override the output connector method that you describe. Indeed, you could construct an output connector whose entire purpose was email notification, and put that in your job as one of the outputs. That would work but it would be somewhat wasteful, because MCF would be required to keep a row per document for that connector in the ingeststatus table. I'll have to think on whether there's a better way to do notifications of this kind, and whether it's worth it to do them. Constructing yet another connector type might be one way, but that's a lot of overhead too for this one feature. > Notifications on job completion > ------------------------------- > > Key: CONNECTORS-1119 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1119 > Project: ManifoldCF > Issue Type: Wish > Reporter: colin > > Currently the status of jobs can be checked via the rest API or the crawler ui. > However there doesn't appear to be a way to send alerts based on jobs completing successfully or otherwise. > Is there some way of adding an e-mail distribution I may have missed? or is it a matter of overriding the noteJobComplete method in the output connector? -- This message was sent by Atlassian JIRA (v6.3.4#6332)