[opencms-dev] scheduled tasks
M Butcher
mbutcher at grcomputing.net
Fri Nov 28 17:53:01 CET 2003
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
More information about the opencms-dev
mailing list