Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 84589 invoked from network); 11 Jul 2009 02:32:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jul 2009 02:32:31 -0000 Received: (qmail 29473 invoked by uid 500); 11 Jul 2009 02:32:37 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 29374 invoked by uid 500); 11 Jul 2009 02:32:37 -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 29362 invoked by uid 99); 11 Jul 2009 02:32:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jul 2009 02:32:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ping2ravi@gmail.com designates 209.85.220.220 as permitted sender) Received: from [209.85.220.220] (HELO mail-fx0-f220.google.com) (209.85.220.220) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jul 2009 02:32:28 +0000 Received: by fxm20 with SMTP id 20so48934fxm.0 for ; Fri, 10 Jul 2009 19:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=nJc+DBRNzcj2TdvHXeOJwqIcHZRHAmC3MBdKAV0v428=; b=YoigHxwGJEZ/hbRHx32TxdFlTjm1WigyIvxGCNVLwr+mxN7Am+fgUdnfk3E2WMV6lB PvRXSi7K6c53x3ZGk6mqfmwOsA+M0rJlPbE8jC9MoXMfZO70X40zy5FC2OPthJYUXH58 eqTEhOQf20yoZBRVOAEWMPyoF1Dn/6/y3PP7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UDHra6q6c8J/YyAU0E1XR0r+dkWa3iqjds0W/8gQfLtIvuZzQAFP9lqWHV/tV7JtCs mot2Vlw5OyWWF1p7rqsxsXuLIK8TNWZLOtnbybC5LiDw3S4xPqiJ9lfu+HjPjHORXsxn YTCESwbGfQkRMcPgpfTNjRi/WX+XfM4a+mH48= MIME-Version: 1.0 Received: by 10.204.122.141 with SMTP id l13mr2526768bkr.106.1247279527951; Fri, 10 Jul 2009 19:32:07 -0700 (PDT) Date: Sat, 11 Jul 2009 03:32:06 +0100 Message-ID: Subject: Running schduled jobs From: Ravi Sharma To: Tomcat Users List Content-Type: multipart/alternative; boundary=001636c5a2d8330ee1046e64e59d X-Virus-Checked: Checked by ClamAV on apache.org --001636c5a2d8330ee1046e64e59d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi All, I need to run some threads at particular time during the day, does Tomcat provide any such facility? If not then whats the other best way to go for it. Basically i recalculate my site's visitor data every 30 minute and keep in cahce and then display to users, 30 minute delay for my data is fine but atleast i dont need to run queries to find those data for each request. Now every 30 minute i want to run those query and update the cache. How can i achive it.? Thanks, Ravi. --001636c5a2d8330ee1046e64e59d--