[opencms-dev] scheduled tasks
Flavio
flavio.suigo at dinamys.it
Mon Dec 1 13:55:02 CET 2003
This was my problem.
Thank you very much,
Flavio Suigo
M Butcher
<mbutcher at grcomputi To: opencms-dev at opencms.org
ng.net> cc:
Sent by: Subject: Re: [opencms-dev] scheduled tasks
opencms-dev-admin at o
pencms.org
28/11/2003 17.59
Please respond to
opencms-dev
I believe that your code needs to be in an OpenCms module.
Flavio wrote:
> I have some problem with scheduled tasks.
> This is my log with the error about my scheduled task.
>
> [28.11.2003 09:50:14] <opencms_cronscheduler> Error running job for
> com.opencms.core.CmsCronEntry{* * * * * Admin Administrators com.Test}
> Error: java.lang.ClassCastException: com.Test
> at
com.opencms.core.CmsCronScheduleJob.run(CmsCronScheduleJob.java:66)
>
> My Java class is:
>
> package com;
>
> import com.opencms.core.I_CmsCronJob;
> import com.opencms.file.CmsObject;
>
> public class Test implements I_CmsCronJob {
> public String launch(CmsObject cms, String parameter)
> throws Exception
> {
> return null;
> }
> }
>
> and it's storaged in this folder: C:
> \jakarta-tomcat-4.1.12\common\classes\com
>
> What is the problem?
>
> Thank you very much.
>
> Flavio Suigo
>
>
> _______________________________________________
> 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
_______________________________________________
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