Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 83671 invoked from network); 2 Dec 2010 23:26:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Dec 2010 23:26:07 -0000 Received: (qmail 1710 invoked by uid 500); 2 Dec 2010 23:26:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 1507 invoked by uid 500); 2 Dec 2010 23:26:04 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 1498 invoked by uid 99); 2 Dec 2010 23:26:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 23:26:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brianbraun@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 23:25:55 +0000 Received: by qwf7 with SMTP id 7so8996qwf.18 for ; Thu, 02 Dec 2010 15:25:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=dErLmq09Odi+j7QFdEtpMnKAARfYcfdavIdCGGpw2iQ=; b=BcC7Ig8JX6LqOxv8/m4RObZAm2X1MrvdADNdRQ66RMSLB9Qmz9/IC0p+Cst+nViShj +4VVPnTa8ZA0zvlZRD0upTqRqI8+pqDC4hwx0JdwxXFS514NaDtAscieZ7LcDyj/3BP7 meCfxteUZ9FtkFP8s8tuf5OOGjr5FX2IZU/8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=Z/w/HwqPE8dee4DOfN7abwHdubMPfeBz5hk5qx8GzrQ/TLMcJ2OjYqxiNUm0zJsCiI 9JDSKg57sfS9GuK0rSM6wibwS1DrO75aC5NFWjRFHHYitofg3+dnMNqUtp8Arh6cZ5K2 nJPG5O9JHNllHXXTw+0EqucS4jJ2h8oI0Jzyw= Received: by 10.224.20.67 with SMTP id e3mr563931qab.183.1291332334133; Thu, 02 Dec 2010 15:25:34 -0800 (PST) Received: from BBW7 ([201.240.96.244]) by mx.google.com with ESMTPS id m7sm735071qck.1.2010.12.02.15.25.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Dec 2010 15:25:33 -0800 (PST) From: "Brian" To: "'Tomcat Users List'" References: <908332.63960.qm@web55308.mail.re4.yahoo.com> <4CF80BDD.7080300@apache.org> In-Reply-To: <4CF80BDD.7080300@apache.org> Subject: RE: How to schedule events on Tomcat Date: Thu, 2 Dec 2010 18:25:05 -0500 Message-ID: <00aa01cb9278$29153e60$7b3fbb20$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKTPWBU8mtDYHzi0YOyLNQ0YHN6mgKxdo4kkejpmYA= Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Mark, This is what I call a perfect solution. I already did it using your advice. Thanks! > -----Original Message----- > From: Mark Thomas [mailto:markt@apache.org] > Sent: Thursday, December 02, 2010 04:13 PM > To: Tomcat Users List > Subject: Re: How to schedule events on Tomcat > > On 02/12/2010 21:08, Brian wrote: > > Wht I want to do is to call a method inside an object in the same java web > app. Trying to do that from the OS would not be a good solution for me. > > java.util.Timer and friends combined with a ServletContextListener > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org