From dev-return-47390-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Thu Sep 04 13:42:53 2003 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 29753 invoked from network); 4 Sep 2003 13:42:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Sep 2003 13:42:52 -0000 Received: (qmail 84047 invoked by uid 500); 4 Sep 2003 13:41:40 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 84004 invoked by uid 500); 4 Sep 2003 13:41:39 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 83930 invoked from network); 4 Sep 2003 13:41:38 -0000 Received: from unknown (HELO mail.s-und-n.de) (212.8.217.2) by daedalus.apache.org with SMTP; 4 Sep 2003 13:41:38 -0000 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id 034FECDF66 for ; Thu, 4 Sep 2003 15:41:28 +0200 (CEST) Received: from hw0386 ([10.10.2.46]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2003090415411986:26512 ; Thu, 4 Sep 2003 15:41:19 +0200 From: "Carsten Ziegeler" To: Subject: RE: [Vote] Releasing 2.1.1 Date: Thu, 4 Sep 2003 15:43:41 +0200 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 04.09.2003 15:41:19, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 04.09.2003 15:41:20, Serialize complete at 04.09.2003 15:41:20 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Giacomo Pati wrote: > > > > > Yes, this is easy for each second, but what when I want to schedule the > > job, let's say every 5 seconds or every 80 minutes? > > You don't know cron, don't you? > No, and the expert I ask, suggested to write 0,5,10,... * * * * :) > every 5 second: */5 * * * * > every 80 minutes: hmm... how's going to schedule a periodic job every 80 > minutes (dumb example :-)? > :), so it's a hard one, isn't it? Ok, it can be written as a cron configuration e.g. if you use two triggers (or three). But I want to have an easy way of configuring it, which means I want to say 80 minutes. If someone (a UtilClass) is able to create a cron configuration out of it, I'm fine :) > Have a look at > http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html > for more details. > I would love to, but it is - for any reason - not accessible from here right now - only the tutorial. And there I found the periodic trigger :) Carsten