[opencms-dev] OpenCMS 536 Scheduling

Kevin Fong kfong at spto.org
Wed Sep 8 22:35:38 CEST 2004


Hi all,

I am trying to schedule a static export in version 536 with the following config in opencms-system.xml but I can't even start the server properly when I do this, suspect something wrong with my config.  Would appreciate any advice/working example on this.  I am using config as per below without any luck:

<scheduler>
<job>
<name>SptoStaticExportCronJob</name>
<class>org.opencms.staticexport.CmsStaticExportJob</class>
<reuseinstance>true</reuseinstance>
<cronexpression>0 15 10 ? * *</cronexpression>
<context>
<user>Admin</user>
<project>Online</project>
<siteroot>/sites/SPTO/</siteroot>
<requesteduri>/</requesteduri>
<locale>en</locale>
<encoding>UTF-8</encoding>
<remoteaddr>127.0.0.1</remoteaddr>
</context>
<parameters/>
</job>
</scheduler>

Thanks,
kevin



More information about the opencms-dev mailing list