[opencms-dev] How can I do scheduling with OpenCms

Alexander Kandzior alex at opencms.org
Mon Jul 18 10:06:14 CEST 2005


Manish,

I can't write the code for you because of time constraints, but here is how
you can do this:

1. You need to write a class that implements the Scheduler interface from
2. In this class, you need to "touch" the JSP in question using the OpenCms
API (or perform another "update" operation)
3. Finally you need to publish the updated JSP using the OpenCms API 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of 
> Manish.Bansal at xansa.com
> Sent: Monday, July 18, 2005 9:06 AM
> To: opencms-dev at opencms.org
> Cc: opencms-dev-bounces at opencms.org
> Subject: [opencms-dev] How can I do scheduling with OpenCms
> 
> Hi,
>   I am using tomcat and MySql with OpenCms 6.0. I want to 
> update a jsp page after every 15 minutes. How can I do that. 
> Is it provided by OpenCms or we have to build our own class 
> extending OpenCms classes. Can someone help me in this regard.
> 
> 
> Regards,
> Manish Bansal
> 
> 
> Whilst this email has been checked for all known viruses, 
> recipients should undertake their own virus checking as Xansa 
> will not accept any liability whatsoever.
> 
> This email and any files transmitted with it are confidential 
> and protected by client privilege.  It is solely for the use 
> of the intended recipient.
> Please delete it and notify the sender if you have received 
> it in error. Unauthorised use is prohibited.
> 
> Any opinions expressed in this email are those of the 
> individual and not necessarily the organisation.
>      Xansa, Registered Office: 420 Thames Valley Park Drive,
>      Thames Valley Park, Reading, RG6 1PU, UK.
>      Registered in England No.1000954.
>      t  +44 (0)8702 416181
>      w  www.xansa.com
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list