Return-Path: X-Original-To: apmail-zest-dev-archive@minotaur.apache.org Delivered-To: apmail-zest-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F22B18810 for ; Mon, 16 Nov 2015 17:42:02 +0000 (UTC) Received: (qmail 92340 invoked by uid 500); 16 Nov 2015 17:42:02 -0000 Delivered-To: apmail-zest-dev-archive@zest.apache.org Received: (qmail 92301 invoked by uid 500); 16 Nov 2015 17:42:02 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 92289 invoked by uid 99); 16 Nov 2015 17:42:02 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 17:42:02 +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 8B2A4180A60 for ; Mon, 16 Nov 2015 17:42:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.98 X-Spam-Level: *** X-Spam-Status: No, score=3.98 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id D2PBam_iyXp3 for ; Mon, 16 Nov 2015 17:41:54 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 2E6D721275 for ; Mon, 16 Nov 2015 17:41:54 +0000 (UTC) Received: from mfilter47-d.gandi.net (mfilter47-d.gandi.net [217.70.178.178]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 853EFC5A56 for ; Mon, 16 Nov 2015 18:41:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter47-d.gandi.net Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter47-d.gandi.net (mfilter47-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id aKMiFCBgIRAw for ; Mon, 16 Nov 2015 18:41:51 +0100 (CET) X-Originating-IP: 212.195.187.94 Received: from [192.168.1.3] (rab34-h03-212-195-187-94.dsl.sta.abo.bbox.fr [212.195.187.94]) (Authenticated sender: paul@nosphere.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 1E755C5A4F for ; Mon, 16 Nov 2015 18:41:50 +0100 (CET) Message-ID: <564A155D.9090105@nosphere.org> Date: Mon, 16 Nov 2015 18:41:49 +0100 From: Paul Merlin User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@zest.apache.org Subject: Re: Scheduler library References: In-Reply-To: X-Enigmail-Version: 1.2.3 Content-Type: multipart/alternative; boundary="------------000507060902030806090508" --------------000507060902030806090508 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Niclas, Niclas Hedhman a écrit : > A heads-up... > > Still not working properly. Some initialization issues and also that the > Cron routine returns "now" if "now" was just executed. Need to push it > forward one second for it to grab the next point in time. About that second forward, it looks like a mismatch between Zest CronShedule::nextRun() method contract and the one of the underlying cron library ::firstRunAfter() method. I reworked the code so this mismatch is isolated under ChronSchedule implementation, close to the underlying cron library. /Paul --------------000507060902030806090508--