<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [opencms-dev] cron job problem</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV><SPAN class=500113314-21042005><FONT face=Arial color=#0000ff size=2>on
workplace,</FONT></SPAN></DIV>
<DIV><SPAN class=500113314-21042005><FONT face=Arial color=#0000ff size=2>this
bug is fixed on Opencms 6</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Mensaje original-----<BR><B>De:</B> Rafael Diaz Valdes
[mailto:opencms-dev-bounces@opencms.org]<B>En nombre de </B>Rafael Diaz
Valdes<BR><B>Enviado el:</B> jueves, 21 de abril de 2005 15:10<BR><B>Para:</B>
The OpenCms mailing list<BR><B>Asunto:</B> RE: [opencms-dev] cron job
problem<BR><BR></FONT></DIV>
<DIV>do you say login the pc or login the workplace ? </DIV>
<DIV>rafael</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B>
opencms-dev-bounces@opencms.org on behalf of Antonio Reyes
<BR><B>Sent:</B> Thu 4/21/2005 3:31 PM <BR><B>To:</B> The OpenCms mailing
list <BR><B>Cc:</B> <BR><B>Subject:</B> RE: [opencms-dev] cron job
problem<BR><BR></FONT></DIV>
<P><FONT size=2>opencms dont start after reboot the tomcat, you must to
login to start<BR>opencms<BR><BR>-----Mensaje original-----<BR>De:
opencms-dev-bounces@opencms.org<BR>[<A
href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</A>]En
nombre de Rafael Diaz Valdes<BR>Enviado el: jueves, 21 de abril de 2005
13:08<BR>Para: opencms-dev@opencms.org<BR>Asunto: [opencms-dev] cron job
problem<BR><BR><BR><BR> Hi all<BR><BR> I wrote a class file to
export module information and put it as a cron job<BR><BR> my entry on
the Schedule task is:<BR><BR> 45 12 * * * admin Administrators
com.opencms.aliceweb.aliceModuleExport<BR>parameter<BR><BR>(all in one
line)<BR><BR>and my aliceModuleExport class is:<BR><BR>public class
aliceModuleExport implements I_CmsCronJob {<BR><BR> public
String launch(CmsObject cmso, String parameter)<BR>throws Exception
{<BR> String filename
=<BR>"/data/tomcat/webapps/ROOT/WEB-INF/export/modules/com.opencms.aliceweb.zip";<BR><BR>
String[] pathArray = new
String[]{<BR>
"/system/modules/com.opencms.aliceweb/classes/",<BR>
"/system/modules/com.opencms.aliceweb/contenttemplates/",<BR>
"/system/modules/com.opencms.aliceweb/default_bodies/",<BR>
"/system/modules/com.opencms.aliceweb/elements/",<BR>
"/system/modules/com.opencms.aliceweb/jsptemplates/",<BR>
"/system/modules/com.opencms.aliceweb/lib/",<BR>
"/system/modules/com.opencms.aliceweb/resources/",<BR>
"/system/modules/com.opencms.aliceweb/templates/"};<BR>
boolean includeSystem = false;<BR> boolean
excludeUnchanged = false;<BR>
cmso.exportResources(filename,pathArray,includeSystem,excludeUnchanged)<BR>;<BR>
return null;<BR> }<BR>}<BR><BR> I restart tomcat
but<BR> the cron task is not executed and there are not signal of this
in the<BR>logfile viewer<BR><BR> Do you have some idea
?<BR><BR> I'm using Tomcat 4.1.29 and opencms
5.0<BR><BR> regards<BR> rafael<BR><BR><BR>_______________________________________________<BR>This
mail is send to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscribe from the list, please visit<BR><A
href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A><BR><BR><BR><BR><BR>_______________________________________________<BR>This
mail is send to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscribe from the list, please visit<BR><A
href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A><BR></FONT></P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>